[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [%# INTERFACE: # searchtype: string. Type of search - either "series", "saved" or undef. # ... # defaultsavename: string. The default name for saving the query. #%] [%############################################################################%] [%# Template Initialization #%] [%############################################################################%] [% PROCESS "global/field-descs.none.tmpl" %] [% USE Bugzilla %] [% cgi = Bugzilla.cgi %] [% unfiltered_title = "$terms.Bug List" %] [% IF searchname || defaultsavename %] [% unfiltered_title = unfiltered_title _ ": " _ (searchname OR defaultsavename) %] [% END %] [% title = unfiltered_title FILTER html %] [% qorder = order FILTER uri IF order %] [% javascript = BLOCK %] [% IF quicksearch %] [% new_param = BLOCK ~%] quicksearch=[% quicksearch FILTER uri %] [%~ IF cgi_param('list_id') ~%] &list_id=[% cgi_param('list_id') FILTER uri %] [%~ END %] [% END %] [% ELSIF cgi_param('token') != '' %] [% new_param = cgi.canonicalise_query('token', 'cmdtype', 'remtype') %] [% ELSE %] [% new_param = cgi.canonicalise_query %] [% END %] [% IF new_param.length + 12 < constants.CGI_URI_LIMIT %] if (history && history.replaceState) { history.replaceState(null, "[% unfiltered_title FILTER js %]", "buglist.cgi?[% new_param FILTER js %]"); document.title = "[% unfiltered_title FILTER js %]"; } [% END %] [% javascript FILTER none %] [% END %] [%############################################################################%] [%# Page Header #%] [%############################################################################%] [% PROCESS global/header.html.tmpl title = title generate_api_token = dotweak atomlink = "buglist.cgi?$urlquerypart&title=$title&ctype=atom" javascript_urls = [ "js/util.js", "js/field.js", "js/TUI.js" ] style_urls = [ "skins/standard/buglist.css" ] doc_section = "using/finding.html" %]
[% currenttime FILTER time('%a %b %e %Y %T %Z') FILTER html %]
[% IF debug %]

Total execution time: [% query_time FILTER html %] seconds

[% FOREACH query = queries %]
[% query.sql FILTER html %]

Execution time: [% query.time FILTER html %] seconds

[% IF query.explain %]
[% query.explain FILTER html %]
[% END %] [% END %]
[% END %] [% IF user.settings.display_quips.value == 'on' %] [% DEFAULT quip = "Bugzilla would like to put a random quip here, but no one has entered any." %] [% quip FILTER html %] [% END %]
[% IF toolong %]

This list is too long for Bugzilla's little mind; the Next/Prev/First/Last buttons won't appear on individual [% terms.bugs %].

[% END %] [% SET shown_types = [ 'notequals', 'regexp', 'notregexp', 'lessthan', 'lessthaneq', 'greaterthan', 'greaterthaneq', 'changedbefore', 'changedafter', 'changedfrom', 'changedto', 'changedby', 'notsubstring', 'nowords', 'nowordssubstr', 'notmatches', 'isempty', 'isnotempty', 'isactive', 'isnotactive' ] %] Hide Search Description [%# Show the link if the browser supports JS %]
[%############################################################################%] [%# Preceding Status Line #%] [%############################################################################%] [% IF bugs.size > 9 %] [% PROCESS num_results %] [% END %] [%############################################################################%] [%# Start of Change Form #%] [%############################################################################%] [% IF dotweak %]
[% END %] [%############################################################################%] [%# Bug Table #%] [%############################################################################%] [% PROCESS list/table.html.tmpl %] [%############################################################################%] [%# Succeeding Status Line #%] [%############################################################################%] [% PROCESS num_results %] [% IF bugs.size == 0 %] [% END %] [%############################################################################%] [%# Rest of Change Form #%] [%############################################################################%] [% IF dotweak %] [% PROCESS "list/edit-multiple.html.tmpl" %]

[% END %] [%############################################################################%] [%# Navigation Bar #%] [%############################################################################%]
[% IF bugs.size > 0 %]
[% buglist_joined = buglist.join(",") %]
[% IF user.is_timetracker %]
[% IF time_summary_limited %] Time Summary will only include the [% terms.bugs %] shown above. In order to see a time summary for all [% terms.bugs %] found by the search, you can show all search results. [% END %] [% END %]
[% FOREACH id = buglist %] [% END %]

[% END %]
[% IF searchtype == "saved" %]
[% ELSE %]
as
[% END %]
[% IF one_product.defined && bugs.size %]

[% PROCESS enter_bug_link %]

[% END %] [%############################################################################%] [%# Page Footer #%] [%############################################################################%] [% PROCESS global/footer.html.tmpl %] [%##########%] [%# Blocks #%] [%##########%] [% BLOCK edit_search_url %] [% editqueryname = searchname OR defaultsavename OR '' %] query.cgi?[% urlquerypart FILTER html %] [%- IF editqueryname != '' %]&known_name= [%- editqueryname FILTER uri %] [% END %] [% END %] [% BLOCK enter_bug_link %] File a new [% terms.bug %] [% IF one_product.defined %] in the [% IF one_component.defined %] "[% one_component FILTER html %]" component of the [% END %] "[% one_product.name FILTER html %]" product [% END %] [% END %] [% BLOCK num_results %] [% IF bugs.size == 0 %] [% terms.zeroSearchResults %]. [% ELSIF default_limited AND bugs.size >= Param('default_search_limit') %] This result was limited to [% Param('default_search_limit') FILTER html %] [%+ terms.bugs %]. See all search results for this query. [% time_summary_limited = 1 %] [% ELSIF bugs.size == 1 %] One [% terms.bug %] found. [% ELSE %] [% bugs.size %] [%+ terms.bugs %] found. [% END %] [% END %]