diff options
author | cyeh%bluemartini.com <> | 2001-03-01 08:07:24 +0100 |
---|---|---|
committer | cyeh%bluemartini.com <> | 2001-03-01 08:07:24 +0100 |
commit | 5b2994b0ce4cf27709b3742a2b63a680464662a0 (patch) | |
tree | ac2b46dde7b3a19475df1a8400e99bc3c120e283 /quicksearchhack.html | |
parent | d0605ef9490b55c38d090c21b5993eda143e7e86 (diff) | |
download | bugzilla-5b2994b0ce4cf27709b3742a2b63a680464662a0.tar.gz bugzilla-5b2994b0ce4cf27709b3742a2b63a680464662a0.tar.xz |
fix for 69793: check in new files for QuickSearch
patch contributed by franke@ags.uni-sb.de (Andreas Franke)
Now add quicksearch functionality to the main index page.
Diffstat (limited to 'quicksearchhack.html')
-rw-r--r-- | quicksearchhack.html | 350 |
1 files changed, 350 insertions, 0 deletions
diff --git a/quicksearchhack.html b/quicksearchhack.html new file mode 100644 index 000000000..f8c15bc5e --- /dev/null +++ b/quicksearchhack.html @@ -0,0 +1,350 @@ +<html> +<head> + <title>Bugzilla QuickSearch (for Hackers)</title> +</head> + +<body bgcolor="#ffffff"> + +<script src="localconfig.js"></script> +<script src="quicksearch.js"></script> + +<h1>Bugzilla QuickSearch (for Hackers)</h1> + +Type in one or more words (or word fragments) to search for: + +<!-- The name of the form must be "f" (used in "quicksearch.js"). --> + +<form name="f" action="show_bug.cgi" method="get" + onsubmit="QuickSearch(); return false;"> + <table> + <tr> + <td><input type="text" size="40" name="id"/></td> + <td align=left><input type="submit" name="run" value="Search"/></td> + <td align=left><input type="button" name="load" value="Load Query" + onclick="LoadQuery();" /> + </td> + </tr> + </table> +</form> + +<script> +<!-- +document.forms['f'].id.focus(); +//--> +</script> + +<p> +This is a case-insensitive ``all words as substrings'' search; +words are separated by spaces. +By default, the following fields are relevant: Summary, Keywords, +Product, Component, Status Whiteboard. If you enter only a single +word, the URL field is included in the search, too. +<p> +The generic format for a ``word'' is + <tt>field1,...,fieldN:value1,...,valueM</tt> . +A bug qualifies if at least one of the values occurs as a substring in +at least one of the fields. +For example, <tt>owner,reporter,qa:ibm,sun</tt> +will give you bugs where the owner, reporter, or qa contact +has an email address that contains + <tt>ibm</tt> or <tt>sun</tt> . +If only <tt>value1,...,valueM</tt> is given, +the prefix (roughly) defaults to <tt>summary,keywords,product,component,statuswhiteboard:</tt> as noted above. +<p> +Here is a complete listing of available fields (the Shortcut column is just +for access speed): +<p> + +<table border=1> +<thead> +<tr> + <td><b>Searched by default</b></td> + <td><b>Shortcut</b></td> + <td><b>Field Name</b></td> + <td><b>Aliases</b></td> + <td><b>Description</b></td> +</tr> +</thead> + +<!-- Status, Resolution, Platform, OS, Priority, Severity --> + +<tr> + <td> </td> + <td rowspan=2><tt><nobr>UNCO,NEW,...,CLOS,</nobr><br><nobr>FIX,DUP,...</nobr> <i><nobr>(as first word)</nobr></i></tt></td> + <td><tt>status</tt></td> + <td> </td> + <td><a href="bug_status.html">Status</a> + <i>("bug_status")</i> + </td> +</tr> +<tr> + <td> </td> + <td><tt>resolution</tt></td> + <td> </td> + <td><a href="bug_status.html">Resolution</a></td> +</tr> +<tr> + <td> </td> + <td><i>as-is</i></td> + <td><tt>platform</tt></td> + <td> </td> + <td><a href="bug_status.html#rep_platform">Platform</a> <i>("rep_platform")</i></td> +</tr> +<tr> + <td> </td> + <td> </td> + <td><tt>os</tt></td> + <td><tt>opsys</tt></td> + <td><a href="bug_status.html#op_sys">OS</a> <i>("op_sys")</i></td> +</tr> +<tr> + <td> </td> + <td><tt>p1,p2</tt> <i>or</i> <tt>p1-2</tt></td> + <td><tt>priority</tt></td> + <td><tt>pri</tt></td> + <td><a href="bug_status.html#priority">Priority</a></td> +</tr> +<tr> + <td> </td> + <td><tt>blo,cri,...,enh</tt></td> + <td><tt>severity</tt></td> + <td><tt>sev</tt></td> + <td><a href="bug_status.html#severity">Severity</a> <i>("bug_severity")</i></td> +</tr> + +<!-- People: AssignedTo, Reporter, QA Contact, CC, Added comment --> +<!-- Added comment is missing!!!! --> + +<tr> + <td> </td> + <td><b>@</b><i>owner</i></td> + <td><tt>assignedto</tt></td> + <td><tt>assignee, owner</tt></td> + <td><a href="bug_status.html#assigned_to">Assignee</a> <i>("assigned_to")</i></td> +</tr> +<tr> + <td> </td> + <td> </td> + <td><tt>reporter</tt></td> + <td><tt>rep</tt></td> + <td>Reporter (email)</td> +</tr> +<tr> + <td> </td> + <td> </td> + <td><tt>qa</tt></td> + <td><tt>qacontact</tt></td> + <td>QA Contact (email) <i>("qa_contact")</i></td> +</tr> +<tr> + <td> </td> + <td> </td> + <td><tt>cc</tt></td> + <td> </td> + <td>CC (email)</td> +</tr> + +<!-- Product, Version, Component, Target Milestone --> + +<tr> + <td><i>yes</i></td> + <td rowspan=2><b>:</b><i>area</i></td> + <td><tt>product</tt></td> + <td><tt>prod</tt></td> + <td>Product (enum)</td> +</tr> +<tr> + <td><i>yes</i></td> + <td><tt>component</tt></td> + <td><tt>comp</tt></td> + <td><a href="describecomponents.cgi">Component</a></td> +</tr> +<tr> + <td> </td> + <td> </td> + <td><tt>version</tt></td> + <td><tt>ver</tt></td> + <td>Version (enum)</td> +</tr> +<tr> + <td> </td> + <td> </td> + <td><tt>milestone</tt></td> + <td><tt>target, targetmilestone</tt></td> + <td>Target Milestone <i>("target_milestone")</i></td> +</tr> + +<!-- Summary, Description, URL, Status whiteboard, Keywords --> + +<tr> + <td><i>yes</i></td> + <td> </td> + <td><tt>summary</tt></td> + <td><tt>shortdesc</tt></td> + <td>Bug Summary (short text)<i>("short_desc")</i></td> +</tr> +<tr> + <td> </td> + <td> </td> + <td><tt>description</tt></td> + <td><tt>desc, longdesc<!--, comment--></tt></td> + <!-- reserve "comment" for "added comment" email search?! --> + <td>Bug Description / Comments (long text)</td> +</tr> +<tr> + <td><i>one-word queries only</i></td> + <td> </td> + <td><tt>url</tt></td> + <td> </td> + <td>URL <i>("bug_file_loc")</i></td> +</tr> +<tr> + <td><i>yes</i></td> + <td> </td> + <td><tt>statuswhiteboard</tt></td> + <td><tt>sw, whiteboard</tt></td> + <td>Status Whiteboard <i>("status_whiteboard")</i></td> +</tr> +<tr> + <td><i>yes</i></td> + <td><b>!</b><i>keyword</i></td> + <td><tt>keywords</tt></td> + <td><tt>kw</tt></td> + <td><a href="describekeywords.cgi">Keywords</a></td> +</tr> + +<!-- Attachments --> + +<tr> + <td> </td> + <td> </td> + <td><tt>attachmentdesc</tt></td> + <td><tt>attachdesc</tt></td> + <td>Attachment Description <i>("attachments.description")</i></td> +</tr> +<tr> + <td> </td> + <td> </td> + <td><tt>attachmentdata</tt></td> + <td><tt>attachdata</tt></td> + <td>Attachment Data <i>("attachments.thedata")</i></td> +</tr> +<tr> + <td> </td> + <td> </td> + <td><tt>attachmentmimetype</tt></td> + <td><tt>attachmimetype</tt></td> + <td>Attachment mime-type <i>("attachments.mimetype")</i></td> +</tr> + +</table> + +<p> +Examples for some useful abbreviations: +<p> +<table border=1> +<thead> +<tr> + <td><b>Syntax</b></td> + <td><b>Semantics and Examples</b></td> +</tr> +</thead> + +<!-- +<tr> + <td><i>STAT</i> <i>(as first word)</i></td> + <td><b>status,resolution:</b><i>STAT</i></td> +</tr> +<tr> + <td></td> + <td></td> +</tr> +<tr> + <td><tt>ALL</tt> <i>(as first word)</i></td> + <td><i>include all resolved bugs in your query</i></td> +</tr> +<tr> + <td><tt>+DUP,FIXED</tt> <i>(as first word)</i></td> + <td><i>include DUPLICATE and FIXED bugs in your search</i></td> +</tr> +--> + +<tr> + <td><b>:</b><i>area</i></td> + <td><b>product,component:</b><i>area</i></td> +</tr> +<!-- +<tr> + <td><tt>:browser</tt></td> + <td><i>bugs in the Browser product</i></td> +</tr> + <td><tt>:mail</tt></td> + <td><i>bugs in the MailNews product</td> +</tr> +<tr> + <td><tt>:xbl</tt></td> + <td><i>bugs in the XBL component</i></td> +</tr> + --> +<tr> + <td><i>sev</i></td> + <td><b>severity:</b><i>sev</i></td> +</tr> +<tr> + <td><tt>blo,cri,maj</tt></td> + <td><i>severe bugs</td> +</tr> +<tr> + <td><tt>enh</tt></td> + <td><i>enhancement requests</i></td> +</tr> +<tr> + <td><b>p</b><i>level</i></td> + <td><b>priority:</b><i>level</i></td> +</tr> +<tr> + <td><tt>p1<tt></td> + <td><i>very high-priority bugs</i></td> +</tr> +<tr> + <td><tt>p1-2</tt></td> + <td><i>high-priority bugs</td> +</tr> +<tr> + <td><b>@</b><i>owner</i></td> + <td><b>assignedto:</b><i>owner</i></td> +</tr> +<!-- +<tr> + <td><tt>@nobody</tt></td> + <td><i>ownerless bugs</i></td> +</tr> +<tr> + <td><tt>@mozilla.org</tt></td> + <td><i>bugs assigned to mozilla.org members</i></td> +</tr> + --> +<tr> + <td><b>!</b><i>keyword</i></td> + <td><b>keywords:</b><i>keyword</i></td> +</tr> +<!-- +<tr> + <td><tt>!crash</tt></td> + <td><i>crasher bugs</i></td> +</tr> +<tr> + <td><tt>!helpwanted</tt></td> + <td><i>bugs waiting for your help</i></td> +</tr> + --> +</table> + +<p> +More information can be found in the +<a href="quicksearch.html#features">"Features"</a> section +on the <a href="quicksearch.html">introductory page</a>. + +</body> +</html> + |