diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-08-10 06:09:24 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-08-10 06:09:24 +0200 |
commit | 12070e973724b68444cb11d37bef8f0cf6e26c52 (patch) | |
tree | 0cb3895982292a971574be05fe6fb3f60f79f6a8 | |
parent | b0f7006e467249d5cbff2b84febe0b658744b559 (diff) | |
download | bugzilla-12070e973724b68444cb11d37bef8f0cf6e26c52.tar.gz bugzilla-12070e973724b68444cb11d37bef8f0cf6e26c52.tar.xz |
MyDashboard changes
-rw-r--r-- | extensions/MyDashboard/Extension.pm | 2 | ||||
-rw-r--r-- | extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl | 10 |
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 %] |