summaryrefslogtreecommitdiffstats
path: root/extensions/MyDashboard
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/MyDashboard')
-rw-r--r--extensions/MyDashboard/Extension.pm2
-rw-r--r--extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl10
2 files changed, 5 insertions, 7 deletions
diff --git a/extensions/MyDashboard/Extension.pm b/extensions/MyDashboard/Extension.pm
index 869d3c81e..3eea207f2 100644
--- a/extensions/MyDashboard/Extension.pm
+++ b/extensions/MyDashboard/Extension.pm
@@ -234,7 +234,7 @@ sub _standard_saved_queries {
my $params = new Bugzilla::CGI($qdef->{params});
my $search = new Bugzilla::Search( fields => \@select_columns,
- params => $params,
+ params => scalar $params->Vars,
order => $order );
my $query = $search->sql();
diff --git a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl
index 23c478e3f..0fb526dd7 100644
--- a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl
+++ b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl
@@ -48,7 +48,7 @@
<div class="yui-skin-sam">
<div id="left">
<div id="query_list_container">
- <strong>Choose query:</strong>
+ Choose query:
<select id="query" name="query" onchange="showQuerySection();">
<optgroup id="standard_queries" label="Standard">
[% FOREACH r = standard_results %]
@@ -61,11 +61,9 @@
[% END %]
</optgroup>
</select>
- [% IF NOT saved_results.size %]
- <smaller>
- (<a href="userprefs.cgi?tab=saved-searches">add or remove saved searches</a>)
- </smaller>
- [% END %]
+ <small>
+ (<a href="userprefs.cgi?tab=saved-searches">add or remove saved searches</a>)
+ </small>
</div>
[% FOREACH r = standard_results %]