[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. 01c58f66605b19fad28de9692cfe56b8a72ba99a

Evergreen Git git at git.evergreen-ils.org
Tue Aug 14 16:53:02 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_3 has been updated
       via  01c58f66605b19fad28de9692cfe56b8a72ba99a (commit)
      from  1d5912e670a328c951a41e333c1a2c0ad564cbbd (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 01c58f66605b19fad28de9692cfe56b8a72ba99a
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