From: Kathy Lussier Date: Fri, 6 Jul 2012 21:01:51 +0000 (-0400) Subject: When a user views holds in their account, clicking "only available" X-Git-Tag: sprint4-merge-nov22~4110 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d391a380ae637f23e326659a81c097bae4d2c34b;p=working%2FEvergreen.git 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 --- 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") %]