summaryrefslogtreecommitdiffstats
path: root/template/en/default/search/tabs.html.tmpl
diff options
context:
space:
mode:
authorjustdave%bugzilla.org <>2004-07-07 15:02:32 +0200
committerjustdave%bugzilla.org <>2004-07-07 15:02:32 +0200
commitcb425931262e9c087a99709ec2a215efeb766311 (patch)
tree2caa1afc3e3a22fa8613286471e83a532a7c2b41 /template/en/default/search/tabs.html.tmpl
parent301233f8df92dcb3b84c38ebe707716179e1d419 (diff)
downloadbugzilla-cb425931262e9c087a99709ec2a215efeb766311.tar.gz
bugzilla-cb425931262e9c087a99709ec2a215efeb766311.tar.xz
Bug 245077: The "Find a specific bug" tab is now the default query when you go to query.cgi. To keep the developers happy, a cookie is now set to remember which query page you last visited, and going to query.cgi without specifying which tab will get you the last one you visited.
Patch by Byron Jones <bugzilla@glob.com.au> r=justdave, a=justdave
Diffstat (limited to 'template/en/default/search/tabs.html.tmpl')
-rw-r--r--template/en/default/search/tabs.html.tmpl10
1 files changed, 4 insertions, 6 deletions
diff --git a/template/en/default/search/tabs.html.tmpl b/template/en/default/search/tabs.html.tmpl
index ac3c72f2f..06b22f7a2 100644
--- a/template/en/default/search/tabs.html.tmpl
+++ b/template/en/default/search/tabs.html.tmpl
@@ -26,10 +26,10 @@
# description: string. Description of the tab (used in tab title).
#%]
-[% tabs = [ { name => '__DEFAULT__', description => "Advanced Search" },
- { name => 'specific', description => "Find a Specific $terms.Bug " } ] %]
+[% tabs = [ { name => 'specific', description => "Find a Specific $terms.Bug " },
+ { name => 'advanced', description => "Advanced Search" } ] %]
-[% current_tab = query_format || format || "__DEFAULT__" %]
+[% current_tab = query_format || format || "advanced" %]
<center>
<table cellspacing="0" cellpadding="10" border="0" width="100%">
@@ -43,9 +43,7 @@
</td>
[% ELSE %]
<td align="center" bgcolor="#BBBBEE" class="unselected_tab">
- <a href="query.cgi
- [% IF tab.name != "__DEFAULT__" %]?format=[% tab.name %][% END %]"
- >
+ <a href="query.cgi?format=[% tab.name %]" >
[% tab.description %]
</a>
</td>