[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. a5e10400bf6f2f988c96477d3b9e7a83a729a325

Evergreen Git git at git.evergreen-ils.org
Fri Jul 13 17:22:11 EDT 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_2 has been updated
       via  a5e10400bf6f2f988c96477d3b9e7a83a729a325 (commit)
      from  a3a6bdab439e71cadcc5c58ea0bc61b35ab71cfe (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a5e10400bf6f2f988c96477d3b9e7a83a729a325
Author: Kathy Lussier <kmlussier at masslnc.org>
Date:   Fri Jul 6 17:01:51 2012 -0400

    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 <kmlussier at masslnc.org>
    Signed-off-by: Ben Shum <bshum at biblio.org>
    Signed-off-by: Bill Erickson <berick at esilibrary.com>

diff --git a/Open-ILS/src/templates/opac/myopac/holds.tt2 b/Open-ILS/src/templates/opac/myopac/holds.tt2
index 5a5be5b..1a6f209 100644
--- a/Open-ILS/src/templates/opac/myopac/holds.tt2
+++ b/Open-ILS/src/templates/opac/myopac/holds.tt2
@@ -62,7 +62,7 @@
                 <td align="right">
                     [% l("Show") %] &nbsp; &nbsp;
                     [% 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> |
diff --git a/Open-ILS/src/templates/opac/parts/topnav.tt2 b/Open-ILS/src/templates/opac/parts/topnav.tt2
index de9aeaa..beaccb8 100644
--- a/Open-ILS/src/templates/opac/parts/topnav.tt2
+++ b/Open-ILS/src/templates/opac/parts/topnav.tt2
@@ -33,7 +33,7 @@
                 </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>

-----------------------------------------------------------------------

Summary of changes:
 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(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list