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

Evergreen Git git at git.evergreen-ils.org
Tue Aug 14 16:53:15 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  eca49e528ea2987130130d87670c6283861b19bf (commit)
      from  addef21ade78b1abc52e8ced611b1c162c7c2d65 (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 eca49e528ea2987130130d87670c6283861b19bf
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