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

Evergreen Git git at git.evergreen-ils.org
Tue Aug 14 16:52:48 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  71cf2ffe29c15bbc142554eac787cc64bae37cfa (commit)
      from  906ccbb6679f04518e7af0fbf651b4e473a68fdc (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 71cf2ffe29c15bbc142554eac787cc64bae37cfa
Author: Ben Shum <bshum at biblio.org>
Date:   Tue Aug 7 13:48:31 2012 -0400

    TPAC - fix pickup locations for edit holds
    
    When a patron goes to edit a hold in TPAC, they have the option to
    choose a different pickup location. Unfortunately, it looks like that
    dropdown does not prevent them from selecting locations that aren't
    normally allowed for pickups, such as system groups or consortium
    itself.
    
    This patch adds a check for 'can_have_vols_only' to the edit holds
    screen.
    
    Credit to Melissa Lefebvre for finally nailing down the source of
    the issue.
    
    Signed-off-by: Ben Shum <bshum at biblio.org>
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>

diff --git a/Open-ILS/src/templates/opac/myopac/holds/edit.tt2 b/Open-ILS/src/templates/opac/myopac/holds/edit.tt2
index d18e063..175d319 100644
--- a/Open-ILS/src/templates/opac/myopac/holds/edit.tt2
+++ b/Open-ILS/src/templates/opac/myopac/holds/edit.tt2
@@ -48,7 +48,7 @@
                         </th>
                         <td>
                             [% INCLUDE build_org_selector
-                                name='pickup_lib' value=ahr.pickup_lib %]
+                                name='pickup_lib' value=ahr.pickup_lib can_have_vols_only=1 %]
                         </td>
                     </tr>
                     [% IF hold.hold.status < 3 OR hold.hold.status == 7 %]

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

Summary of changes:
 Open-ILS/src/templates/opac/myopac/holds/edit.tt2 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list