We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd64ed0 commit 8d05684Copy full SHA for 8d05684
templates/triage/pulls.html
@@ -57,18 +57,23 @@
57
var td;
58
switch (flt[0]) {
59
case 'label':
60
+ case '-label':
61
td = tr[i].getElementsByTagName("td")[6];
62
break;
63
case 'assignee':
64
+ case '-assignee':
65
td = tr[i].getElementsByTagName("td")[5];
66
67
case 'author':
68
+ case '-author':
69
td = tr[i].getElementsByTagName("td")[4];
70
71
}
72
if (td) {
73
txtValue = td.textContent || td.innerText;
- if (txtValue.indexOf(flt[1]) > -1) {
74
+ console.log(flt[0].charAt(0));
75
+ if ((flt[0].charAt(0) != '-' && txtValue.indexOf(flt[1]) > -1)
76
+ || (flt[0].charAt(0) == '-' && txtValue.indexOf(flt[1]) <= -1)) {
77
tr[i].style.display = "";
78
} else {
79
tr[i].style.display = "none";
0 commit comments