[open-ils-commits] [GIT] Evergreen ILS branch master updated. d391a380ae637f23e326659a81c097bae4d2c34b

Evergreen Git git at git.evergreen-ils.org
Fri Jul 13 17:21:34 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, master has been updated
       via  d391a380ae637f23e326659a81c097bae4d2c34b (commit)
      from  4a03ac99e460833c45ab484b7f7a46c1d651b571 (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 d391a380ae637f23e326659a81c097bae4d2c34b
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