[Project_owners] How do I add a bugzilla search field to one of my pages?

HJ bugs4hj at netscape.net
Mon Jan 23 11:01:50 EST 2006


Pete Collins wrote:
> 
>> Can we somehow limit the search scope to our project?
>>
> 
> Sure something link below should work:
> 
>  <form id="show-bug" name="f" action="show_bug.cgi" method="get"
>      onsubmit="QuickSearch(f.id.value); return false;">
> 
>  <div>
>    <p>Enter a bug # or some search terms:</p>
>    <input id="text" type="text" name="id">
>    <input id="show" type="submit" value="Show">
>    <input id="projectname" type="hidden" name="project" value="multizilla">
> </div>
>  </form>

I now use the following HTML snippet:

<form name="queryform" method="get" 
action="http://bugzilla.mozdev.org/buglist.cgi">
<div style="margin-top: -30; margin-left: 55px; margin-bottom: 20px;">
<input name="content" size="40" value="">
<input type="submit" value="Find">
<input type="hidden" name="query_format" value="specific">
<input type="hidden" name="order" value="relevance desc">
<input type="hidden" name="product" value="multizilla">
</div>
</form>

It seems to work.

Thanks for your help!
/HJ


More information about the Project_owners mailing list