From d391a380ae637f23e326659a81c097bae4d2c34b Mon Sep 17 00:00:00 2001 From: Kathy Lussier Date: Fri, 6 Jul 2012 17:01:51 -0400 Subject: [PATCH] When a user views holds in their account, clicking "only available" 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 Signed-off-by: Ben Shum Signed-off-by: Bill Erickson --- Open-ILS/src/templates/opac/myopac/holds.tt2 | 2 +- Open-ILS/src/templates/opac/parts/topnav.tt2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/opac/myopac/holds.tt2 b/Open-ILS/src/templates/opac/myopac/holds.tt2 index 5a5be5b92d..1a6f20954f 100644 --- a/Open-ILS/src/templates/opac/myopac/holds.tt2 +++ b/Open-ILS/src/templates/opac/myopac/holds.tt2 @@ -62,7 +62,7 @@ [% l("Show") %]     [% IF CGI.param("available") %] - [% l('all') %] | + [% l('all') %] | [% l("only available") %] [% ELSE %] [% l("all") %] | diff --git a/Open-ILS/src/templates/opac/parts/topnav.tt2 b/Open-ILS/src/templates/opac/parts/topnav.tt2 index de9aeaaedd..beaccb894a 100644 --- a/Open-ILS/src/templates/opac/parts/topnav.tt2 +++ b/Open-ILS/src/templates/opac/parts/topnav.tt2 @@ -33,7 +33,7 @@ | - [% ctx.user_stats.holds.total %] [% l("On Hold") %] -- 2.11.0