TPac; propagate query params to adv search (results link)
authorBill Erickson <berick@esilibrary.com>
Fri, 11 Nov 2011 18:22:34 +0000 (13:22 -0500)
committerMike Rylander <mrylander@gmail.com>
Tue, 15 Nov 2011 16:42:51 +0000 (11:42 -0500)
Update the "Advanced Search" link that shows on search results pages
(next to "Another Search") to propagate the current query into the
advanced search page, just like the Advanced Search link just above the
search bar.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/opac/results.tt2

index a34f300..17fddab 100644 (file)
@@ -27,7 +27,7 @@
                     <a href="[% ctx.opac_root %]/home">[% l('Another Search') %]</a>
                 </div>
                 <div class="results_header_btns">
-                    <a href="[% ctx.opac_root %]/advanced">[% l('Advanced Search') %]</a>
+                    <a href="[% mkurl(ctx.opac_root _ '/advanced') %]">[% l('Advanced Search') %]</a>
                 </div>
                 [% IF ctx.mylist.size %]
                 <div class="results_header_btns cached_list_div">