Browse catalog shortcut links should clear the search query user/paxed/browse-shortcut-clear-query-param
authorPasi Kallinen <pasi.kallinen@pttk.fi>
Wed, 11 Sep 2013 08:46:07 +0000 (11:46 +0300)
committerPasi Kallinen <pasi.kallinen@pttk.fi>
Wed, 11 Sep 2013 08:46:07 +0000 (11:46 +0300)
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Open-ILS/src/templates/opac/browse.tt2

index 8ad04e8..24e5457 100644 (file)
@@ -54,7 +54,7 @@
                         current_qtype = CGI.param('qtype') || 'title' %]
                     <span class="browse-shortcuts">
                         [% FOR shortcut IN ctx.pager_shortcuts %]
-                            <a href="[% mkurl('', {qtype => current_qtype, bterm => shortcut.0}, ['bpivot']) %]">[% shortcut.1 %]</a>
+                            <a href="[% mkurl('', {qtype => current_qtype, bterm => shortcut.0}, ['bpivot','query']) %]">[% shortcut.1 %]</a>
                         [% END %]
                     </span>
                     [% END %]