kpac : hrefs for back/top links in category page, avoid dupe cgi param
authorBill Erickson <berick@esilibrary.com>
Wed, 6 Jun 2012 18:12:17 +0000 (14:12 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 30 Jul 2012 19:05:05 +0000 (15:05 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/kpac/category.tt2

index 948baa7..b4facb0 100644 (file)
@@ -17,7 +17,7 @@
             <td><a href="[% mkurl(ctx.home_page, {}, ['trail']) %]">
                 <img src="[% ctx.media_prefix %]/images/kpac/go_back_btn.png" /></a></td>
             <td width="100%" class="nav_mid_bg"></td>
-            <td class="to_top_btn"><a href="[% mkurl(ctx.unparsed_uri) %]">
+            <td class="to_top_btn"><a href="[% mkurl(ctx.unparsed_uri, {}, 1) %]">
                 <img src="[% ctx.media_prefix %]/images/kpac/to_top_btn.png" /></a></td>
         </tr>
     </table>