1
<!-- 1.0@bugzilla.org -->
1
[%# 1.0@bugzilla.org %]
2
2
[%# The contents of this file are subject to the Mozilla Public
3
3
# License Version 1.1 (the "License"); you may not use this file
4
4
# except in compliance with the License. You may obtain a copy of
23
23
{ name => "noop", description => "---" },
24
24
{ name => "equals", description => "is equal to" },
25
25
{ name => "notequals", description => "is not equal to" },
26
{ name => "anyexact", description => "is equal to any of the strings" },
26
27
{ name => "substring", description => "contains the string" },
27
28
{ name => "casesubstring", description => "contains the string (exact case)" },
28
29
{ name => "notsubstring", description => "does not contain the string" },
30
{ name => "anywordssubstr", description => "contains any of the strings" },
29
31
{ name => "allwordssubstr", description => "contains all of the strings" },
30
{ name => "anywordssubstr", description => "contains any of the strings" },
32
{ name => "nowordssubstr", description => "contains none of the strings" },
31
33
{ name => "regexp", description => "contains regexp" },
32
34
{ name => "notregexp", description => "does not contain regexp" },
33
35
{ name => "lessthan", description => "is less than" },
39
41
{ name => "changedafter", description => "changed after" },
40
42
{ name => "changedfrom", description => "changed from" },
41
43
{ name => "changedto", description => "changed to" },
42
{ name => "changedby", description => "changed by" } ] %]
44
{ name => "changedby", description => "changed by" },
45
{ name => "matches", description => "matches" } ] %]
46
<a name="chart" href="queryhelp.cgi#advancedquerying">
47
Advanced Querying Using Boolean Charts</a>:
49
<a name="chart">Advanced Searching Using Boolean Charts</a>:
55
57
[% FOREACH chart = default.charts %]
56
58
[% chartnum = loop.count - 1 %]
58
[% FOREACH row = chart %]
62
<input type="checkbox" id="negate[% chartnum FILTER html %]"
63
name="negate[% chartnum FILTER html %]" value="1"
64
[% "checked" IF chart.negate %]>
65
<label for="negate[% chartnum FILTER html %]">
66
Not (negate this whole chart)
70
[% FOREACH row = chart.rows %]
59
71
[% rownum = loop.count - 1 %]
61
73
[% FOREACH col = row %]
79
91
value="[% col.value FILTER html %]">
82
[% IF NOT col == row.last %]
94
[% UNLESS loop.last %]
83
95
<td align="center">
88
102
[% newor = colnum + 1 %]
89
103
<input type="submit" value="Or"
90
name="cmd-add[% "${chartnum}-${rownum}-${newor}" %]" [% $jsmagic %]>
104
name="cmd-add[% "${chartnum}-${rownum}-${newor}" %]" [% jsmagic %]>
97
[% IF NOT row == chart.last %]
111
[% UNLESS loop.last %]
104
118
[% newand = rownum + 1; newchart = chartnum + 1 %]
105
119
<input type="submit" value="And"
106
name="cmd-add[% "${chartnum}-${newand}-0" %]"[% $jsmagic %]>
120
name="cmd-add[% "${chartnum}-${newand}-0" %]" [% jsmagic %]>
107
121
108
122
<input type="submit" value="Add another boolean chart"
109
name="cmd-add[% newchart %]-0-0" [% $jsmagic %]>
123
name="cmd-add[% newchart %]-0-0" [% jsmagic %]>
110
124