lp1335958 Remove parameters from current checkouts link
authorKathy Lussier <klussier@masslnc.org>
Mon, 30 Jun 2014 18:57:29 +0000 (14:57 -0400)
committerBen Shum <bshum@biblio.org>
Wed, 10 Sep 2014 21:13:15 +0000 (17:13 -0400)
The limit and offset parameters can cause patrons to be stuck in a small
section of their current checkout lists. Let's remove those two parameters
when linking to that list from the patron dashboard.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jim Keenan <jkeenan@cwmars.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/topnav.tt2

index e9cacdd..34c5976 100644 (file)
@@ -32,7 +32,7 @@
             </div>
             <div id="dashboard">
                 <span class="dash-align">
-                    <a class="dash-link" href="[% mkurl(ctx.opac_root _ '/myopac/circs')
+                    <a class="dash-link" href="[% mkurl(ctx.opac_root _ '/myopac/circs', {}, ['limit','offset'])
                         %]"><span id="dash_checked">[% ctx.user_stats.checkouts.total_out
                         %]</span> [% l("Checked Out") %]</a>
                 </span>