RSS

(root)/bugzilla/3.6 : 6113 (compared to revision 7122) : template/en/default/pages/quicksearchhack.html.tmpl

To get this branch, use:
bzr branch /bugzilla/3.6

« back to all changes in this revision

Viewing changes to template/en/default/pages/quicksearchhack.html.tmpl

mkanat%bugzilla.org
2008-06-29 19:57:54
Revision ID: cvs-1:mkanatbugzilla.org-20080630025754-h0rylmikmb6z28g1
Bug 440612 â€“ Use Bugzilla::Bug->check everywhere instead of ValidateBugID
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit

Show diffs side-by-side

added added

removed removed

 
1
[%# The contents of this file are subject to the Mozilla Public
 
2
  # License Version 1.1 (the "License"); you may not use this file
 
3
  # except in compliance with the License. You may obtain a copy of
 
4
  # the License at http://www.mozilla.org/MPL/
 
5
  #
 
6
  # Software distributed under the License is distributed on an "AS
 
7
  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
 
8
  # implied. See the License for the specific language governing
 
9
  # rights and limitations under the License.
 
10
  #
 
11
  # The Original Code is the Bugzilla Bug Tracking System.
 
12
  #
 
13
  # Contributor(s): N.N.
 
14
  #                 Marc Schumann <wurblzap@gmail.com>
 
15
  #%]
 
16
 
 
17
[% PROCESS global/variables.none.tmpl %]
 
18
 
 
19
[% INCLUDE global/header.html.tmpl
 
20
   title  = "$terms.Bugzilla QuickSearch (for Hackers)",
 
21
   style  = 'th {text-align: left}'
 
22
   onload = 'document.forms[\'f\'].quicksearch.focus()'
 
23
 %]
 
24
 
 
25
<p>
 
26
  Type in one or more words (or word fragments) to search for:
 
27
</p>
 
28
 
 
29
<form name="f" action="buglist.cgi" method="get"
 
30
      onsubmit="if (this.quicksearch.value == '')
 
31
                { alert('Please enter one or more search terms first.');
 
32
                  return false; } return true;">
 
33
  <input type="text" size="40" name="quicksearch">
 
34
  <input type="submit" value="Find" id="find">
 
35
  <input type="submit" name="load" value="Load Search Form" id="load">
 
36
</form>
 
37
 
 
38
<p>
 
39
  This is a case-insensitive &ldquo;all words as substrings&rdquo; search;
 
40
  words are separated by spaces.
 
41
  By default, the following fields are relevant: Summary, Keywords,
 
42
  Product, Component, Status Whiteboard.
 
43
  If a word looks like a part of a URL, that field is included in the search,
 
44
  too.
 
45
</p>
 
46
<p>
 
47
  The generic format for a &ldquo;word&rdquo; is
 
48
  <tt>field1,&hellip;,fieldN:value1,&hellip;,valueM</tt>.
 
49
  A [% terms.bug %] qualifies if at least one of the values occurs as a
 
50
  substring in at least one of the fields.
 
51
  For example, <tt>assignee,reporter,qa:ibm,sun</tt> will give you
 
52
  [%+ terms.bugs %] where the assignee, reporter, or qa contact has a login
 
53
  that contains <tt>ibm</tt> or <tt>sun</tt>.
 
54
  If only <tt>value1,&hellip;,valueM</tt> is given, the prefix (roughly) defaults to
 
55
  <tt>summary,keywords,product,component,statuswhiteboard:</tt> as noted above.
 
56
  You can use <tt>-<i>word</i></tt> to express the logical negation of
 
57
  <tt><i>word</i></tt>.
 
58
</p>
 
59
<p>
 
60
  Here is a complete listing of available fields (the Shortcut column is just
 
61
  for access speed):
 
62
</p>
 
63
 
 
64
<table border="1">
 
65
<thead>
 
66
<tr>
 
67
  <th>Searched by default</th>
 
68
  <th>Shortcut</th>
 
69
  <th>Field Name</th>
 
70
  <th>Aliases</th>
 
71
  <th>Description</th>
 
72
</tr>
 
73
</thead>
 
74
 
 
75
<!-- Status, Resolution, Platform, OS, Priority, Severity -->
 
76
 
 
77
<tr>
 
78
  <td>&nbsp;</td>
 
79
  <td rowspan="2">
 
80
    <tt>UNCO,NEW,&hellip;,CLOS,<br>FIX,DUP,&hellip;<i>(as first word)</i></tt>
 
81
  </td>
 
82
  <td><tt>status</tt></td>
 
83
  <td>&nbsp;</td>
 
84
  <td>
 
85
    <a href="page.cgi?id=fields.html#status">Status</a>
 
86
    <i>(&ldquo;bug_status&rdquo;)</i>
 
87
  </td>
 
88
</tr>
 
89
<tr>
 
90
  <td>&nbsp;</td>
 
91
  <td><tt>resolution</tt></td>
 
92
  <td>&nbsp;</td>
 
93
  <td><a href="page.cgi?id=fields.html#resolution">Resolution</a></td>
 
94
</tr>
 
95
<tr>
 
96
  <td>&nbsp;</td>
 
97
  <td><i>as-is</i></td>
 
98
  <td><tt>platform</tt></td>
 
99
  <td>&nbsp;</td>
 
100
  <td>
 
101
    <a href="page.cgi?id=fields.html#rep_platform">Platform</a>
 
102
    <i>(&ldquo;rep_platform&rdquo;)</i>
 
103
  </td>
 
104
</tr>
 
105
<tr>
 
106
  <td>&nbsp;</td>
 
107
  <td>&nbsp;</td>
 
108
  <td><tt>os</tt></td>
 
109
  <td><tt>opsys</tt></td>
 
110
  <td>
 
111
    <a href="page.cgi?id=fields.html#op_sys">OS</a>
 
112
    <i>(&ldquo;op_sys&rdquo;)</i>
 
113
  </td>
 
114
</tr>
 
115
<tr>
 
116
  <td>&nbsp;</td>
 
117
  <td><tt>p1,p2</tt> <i>or</i> <tt>p1-2</tt></td>
 
118
  <td><tt>priority</tt></td>
 
119
  <td><tt>pri</tt></td>
 
120
  <td><a href="page.cgi?id=fields.html#priority">Priority</a></td>
 
121
</tr>
 
122
<tr>
 
123
  <td>&nbsp;</td>
 
124
  <td><tt>blo,cri,&hellip;,enh</tt></td>
 
125
  <td><tt>severity</tt></td>
 
126
  <td><tt>sev</tt></td>
 
127
  <td>
 
128
    <a href="page.cgi?id=fields.html#bug_severity">Severity</a>
 
129
    <i>(&ldquo;bug_severity&rdquo;)</i>
 
130
  </td>
 
131
</tr>
 
132
 
 
133
<!-- People: AssignedTo, Reporter, QA Contact, CC, Added comment -->
 
134
<!-- Added comment is missing!!!! -->
 
135
 
 
136
<tr>
 
137
  <td>&nbsp;</td>
 
138
  <td><b>@</b><i>assignee</i></td>
 
139
  <td><tt>assignedto</tt></td>
 
140
  <td><tt>assignee</tt></td>
 
141
  <td>
 
142
    <a href="page.cgi?id=fields.html#assigned_to">Assignee</a>
 
143
    <i>(&ldquo;assigned_to&rdquo;)</i>
 
144
  </td>
 
145
</tr>
 
146
<tr>
 
147
  <td>&nbsp;</td>
 
148
  <td>&nbsp;</td>
 
149
  <td><tt>reporter</tt></td>
 
150
  <td><tt>rep</tt></td>
 
151
  <td>Reporter (login)</td>
 
152
</tr>
 
153
<tr>
 
154
  <td>&nbsp;</td>
 
155
  <td>&nbsp;</td>
 
156
  <td><tt>qa</tt></td>
 
157
  <td><tt>qacontact</tt></td>
 
158
  <td>QA Contact (login) <i>(&ldquo;qa_contact&rdquo;)</i></td>
 
159
</tr>
 
160
<tr>
 
161
  <td>&nbsp;</td>
 
162
  <td>&nbsp;</td>
 
163
  <td><tt>cc</tt></td>
 
164
  <td>&nbsp;</td>
 
165
  <td>CC (login)</td>
 
166
</tr>
 
167
 
 
168
<!-- Product, Version, Component, Target Milestone -->
 
169
 
 
170
<tr>
 
171
  <td><i>yes</i></td>
 
172
  <td rowspan="2"><b>:</b><i>area</i></td>
 
173
  <td><tt>product</tt></td>
 
174
  <td><tt>prod</tt></td>
 
175
  <td>Product (enum)</td>
 
176
</tr>
 
177
<tr>
 
178
  <td><i>yes</i></td>
 
179
  <td><tt>component</tt></td>
 
180
  <td><tt>comp</tt></td>
 
181
  <td><a href="describecomponents.cgi">Component</a></td>
 
182
</tr>
 
183
<tr>
 
184
  <td>&nbsp;</td>
 
185
  <td>&nbsp;</td>
 
186
  <td><tt>version</tt></td>
 
187
  <td><tt>ver</tt></td>
 
188
  <td>Version (enum)</td>
 
189
</tr>
 
190
<tr>
 
191
  <td>&nbsp;</td>
 
192
  <td>&nbsp;</td>
 
193
  <td><tt>milestone</tt></td>
 
194
  <td><tt>target, targetmilestone</tt></td>
 
195
  <td>Target Milestone <i>(&ldquo;target_milestone&rdquo;)</i></td>
 
196
</tr>
 
197
 
 
198
<!-- Summary, Description, URL, Status whiteboard, Keywords -->
 
199
 
 
200
<tr>
 
201
  <td><i>yes</i></td>
 
202
  <td>&nbsp;</td>
 
203
  <td><tt>summary</tt></td>
 
204
  <td><tt>shortdesc</tt></td>
 
205
  <td>
 
206
    [% terms.Bug %] Summary (short text)
 
207
    <i>(&ldquo;short_desc&rdquo;)</i>
 
208
  </td>
 
209
</tr>
 
210
<tr>
 
211
  <td>&nbsp;</td>
 
212
  <td>&nbsp;</td>
 
213
  <td><tt>description</tt></td>
 
214
  <td><tt>desc, longdesc<!--, comment--></tt></td>
 
215
  <!-- reserve "comment" for "added comment" login search?! -->
 
216
  <td>[% terms.Bug %] Description / Comments (long text)</td>
 
217
</tr>
 
218
<tr>
 
219
  <td><i>depends</i></td>
 
220
  <td>&nbsp;</td>
 
221
  <td><tt>url</tt></td>
 
222
  <td>&nbsp;</td>
 
223
  <td>URL <i>(&ldquo;bug_file_loc&rdquo;)</i></td>
 
224
</tr>
 
225
<tr>
 
226
  <td><i>yes</i></td>
 
227
  <td>&nbsp;</td>
 
228
  <td><tt>statuswhiteboard</tt></td>
 
229
  <td><tt>sw, whiteboard</tt></td>
 
230
  <td>Status Whiteboard <i>(&ldquo;status_whiteboard&rdquo;)</i></td>
 
231
</tr>
 
232
<tr>
 
233
  <td><i>yes</i></td>
 
234
  <td><b>!</b><i>keyword</i></td>
 
235
  <td><tt>keywords</tt></td>
 
236
  <td><tt>kw</tt></td>
 
237
  <td><a href="describekeywords.cgi">Keywords</a></td>
 
238
</tr>
 
239
<tr>
 
240
  <td>&nbsp;</td>
 
241
  <td>&nbsp;</td>
 
242
  <td><tt>group</tt></td>
 
243
  <td>&nbsp;</td>
 
244
  <td>Group</td>
 
245
</tr>
 
246
 
 
247
<!-- Flags -->
 
248
 
 
249
<tr>
 
250
  <td>&nbsp;</td>
 
251
  <td rowspan="2"><i>flag</i><b>?</b><i>requestee</i></td>
 
252
  <td><tt>flag</tt></td>
 
253
  <td>&nbsp;</td>
 
254
  <td>Flag name and status (+, - or ?)</td>
 
255
</tr>
 
256
<tr>
 
257
  <td>&nbsp;</td>
 
258
  <td><tt>requestee</tt></td>
 
259
  <td><tt>req</tt></td>
 
260
  <td>Flag requestee (login)</td>
 
261
</tr>
 
262
<tr>
 
263
  <td>&nbsp;</td>
 
264
  <td>&nbsp;</td>
 
265
  <td><tt>setter</tt></td>
 
266
  <td><tt>set</tt></td>
 
267
  <td>Flag setter (login)</td>
 
268
</tr>
 
269
 
 
270
<!-- Attachments -->
 
271
 
 
272
<tr>
 
273
  <td>&nbsp;</td>
 
274
  <td>&nbsp;</td>
 
275
  <td><tt>attachmentdesc</tt></td>
 
276
  <td><tt>attachdesc</tt></td>
 
277
  <td>
 
278
    Attachment Description
 
279
    <i>(&ldquo;attachments.description&rdquo;)</i>
 
280
  </td>
 
281
</tr>
 
282
<tr>
 
283
  <td>&nbsp;</td>
 
284
  <td>&nbsp;</td>
 
285
  <td><tt>attachmentdata</tt></td>
 
286
  <td><tt>attachdata</tt></td>
 
287
  <td>Attachment Data <i>(&ldquo;attach_data.thedata&rdquo;)</i></td>
 
288
</tr>
 
289
<tr>
 
290
  <td>&nbsp;</td>
 
291
  <td>&nbsp;</td>
 
292
  <td><tt>attachmentmimetype</tt></td>
 
293
  <td><tt>attachmimetype</tt></td>
 
294
  <td>Attachment mime-type <i>(&ldquo;attachments.mimetype&rdquo;)</i></td>
 
295
</tr>
 
296
<tr>
 
297
  <td>&nbsp;</td>
 
298
  <td>&nbsp;</td>
 
299
  <td><tt>votes</tt></td>
 
300
  <td>&nbsp;</td>
 
301
  <td>
 
302
    Number of votes<br>
 
303
    (votes:<i>N</i> and votes&gt;=<i>N</i> mean "at least N votes",
 
304
    votes&gt;<i>N</i> means "more than N votes")
 
305
  </td>
 
306
</tr>
 
307
</table>
 
308
 
 
309
<p>
 
310
  Examples for some useful abbreviations:
 
311
</p>
 
312
<table border="1">
 
313
<thead>
 
314
<tr>
 
315
  <th>Syntax</th>
 
316
  <th>Semantics and Examples</th>
 
317
</tr>
 
318
</thead>
 
319
 
 
320
<!--
 
321
<tr>
 
322
  <td><i>STAT</i> <i>(as first word)</i></td>
 
323
  <td><b>status,resolution:</b> <i>STAT</i></td>
 
324
</tr>
 
325
<tr>
 
326
  <td></td>
 
327
  <td></td>
 
328
</tr>
 
329
<tr>
 
330
  <td><tt>ALL</tt> <i>(as first word)</i></td>
 
331
  <td><i>include all resolved [% terms.bugs %] in your search</i></td>
 
332
</tr>
 
333
<tr>
 
334
  <td><tt>+DUP,FIXED</tt> <i>(as first word)</i></td>
 
335
  <td><i>include DUPLICATE and FIXED [% terms.bugs %] in your search</i></td>
 
336
</tr>
 
337
-->
 
338
 
 
339
<tr>
 
340
  <td><b>:</b><i>area</i></td>
 
341
  <td><b>product,component:</b><i>area</i></td>
 
342
</tr>
 
343
<tr>
 
344
  <td><i>sev</i></td>
 
345
  <td><b>severity:</b><i>sev</i></td>
 
346
</tr>
 
347
<tr>
 
348
  <td><tt>blo,cri,maj</tt></td>
 
349
  <td><i>severe [% terms.bugs %]</i></td>
 
350
</tr>
 
351
<tr>
 
352
  <td><tt>enh</tt></td>
 
353
  <td><i>enhancement requests</i></td>
 
354
</tr>
 
355
<tr>
 
356
  <td><b>p</b><i>level</i></td>
 
357
  <td><b>priority:</b><i>level</i></td>
 
358
</tr>
 
359
<tr>
 
360
  <td><tt>p1</tt></td>
 
361
  <td><i>very high-priority [% terms.bugs %]</i></td>
 
362
</tr>
 
363
<tr>
 
364
  <td><tt>p1-2</tt></td>
 
365
  <td><i>high-priority [% terms.bugs %]</i></td>
 
366
</tr>
 
367
<tr>
 
368
  <td><b>@</b><i>assignee</i></td>
 
369
  <td><b>assignedto:</b><i>assignee</i></td>
 
370
</tr>
 
371
<tr>
 
372
  <td><b>!</b><i>keyword</i></td>
 
373
  <td><b>keywords:</b><i>keyword</i></td>
 
374
</tr>
 
375
<tr>
 
376
  <td><i>flag</i><b>?</b><i>requestee</i></td>
 
377
  <td><b>flag:</b><i>flag?</i> <b>requestee:</b><i>requestee</i></td>
 
378
</tr>
 
379
</table>
 
380
 
 
381
<p>
 
382
  More information can be found in the
 
383
  <a href="page.cgi?id=quicksearch.html#features">&ldquo;Features&rdquo;</a>
 
384
  section on the <a href="page.cgi?id=quicksearch.html">introductory page</a>.
 
385
</p>
 
386
 
 
387
[% PROCESS global/footer.html.tmpl %]

Loggerhead 1.18.1 is a web-based interface for Bazaar branches