Browse catalog shortcut links should clear the search query
authorPasi Kallinen <pasi.kallinen@pttk.fi>
Wed, 11 Sep 2013 08:46:07 +0000 (11:46 +0300)
committerMike Rylander <mrylander@gmail.com>
Mon, 16 Sep 2013 17:03:17 +0000 (13:03 -0400)
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
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 %]