on the holds screen or "Ready for Pickup" in the navbar will add an
"available=1" parameter. However, if the user then attempts to return
to a list of all holds, the "available" parameter is not cleared, and
the user will only see holds available for pickup.
This commit will clear those parameters.
Signed-off-by: Kathy Lussier <kmlussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
<td align="right">
[% l("Show") %]
[% IF CGI.param("available") %]
- <a href="[% mkurl('holds') %]">[% l('all') %]</a> |
+ <a href="[% mkurl('holds', {}, ['available']) %]">[% l('all') %]</a> |
<strong>[% l("only available") %]</strong>
[% ELSE %]
<strong>[% l("all") %]</strong> |
</span>
<span class="dash_divider">|</span>
<span class="dash-align">
- <a class="dash-link" href="[% mkurl(ctx.opac_root _ '/myopac/holds')
+ <a class="dash-link" href="[% mkurl(ctx.opac_root _ '/myopac/holds', {}, ['available'])
%]"><span id="dash_holds">[% ctx.user_stats.holds.total
%]</span> [% l("On Hold") %]</a>
</span>