[open-ils-commits] [GIT] Evergreen ILS branch rel_2_12 updated. 81b26198f1ad2c79c0cb872c05892dc1f3ce0030

Evergreen Git git at git.evergreen-ils.org
Fri Aug 25 10:47:24 EDT 2017


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_12 has been updated
       via  81b26198f1ad2c79c0cb872c05892dc1f3ce0030 (commit)
      from  1757f32c67f1ce32368d40c451a6cfbcd0bb0c6b (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 81b26198f1ad2c79c0cb872c05892dc1f3ce0030
Author: Jason Boyer <jboyer at library.in.gov>
Date:   Thu Aug 24 17:34:02 2017 -0400

    LP1712922: Exclude Deleted ACPL in Vol/Copy Editor
    
    Just what it says on the tin. When loading the list of ACPL
    in the editor only retrieve the non-deleted locations.
    
    Tester's note: there's no database contraint that strictly
    prevents a copy from linking to a deleted location, so for
    items like that, the copy location selector will be blank. This
    is an uncommon situation, but Evergreen admins can identify
    such items by running the following query:
    
    select acp.id, acp.barcode, acpl.name
    from asset.copy acp
    join asset.copy_location acpl on (acpl.id = acp.location)
    where not acp.deleted
    and acpl.deleted
    order by acp.id;
    
    Signed-off-by: Jason Boyer <jboyer at library.in.gov>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js
index cce204c..f2a6268 100644
--- a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js
+++ b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js
@@ -138,7 +138,7 @@ function(egCore , $q) {
 
     service.get_locations = function(orgs) {
         return egCore.pcrud.search('acpl',
-            {owning_lib : orgs},
+            {owning_lib : orgs, deleted : 'f'},
             {order_by : { acpl : 'name' }}, {atomic : true}
         );
     };

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

Summary of changes:
 .../web/js/ui/default/staff/cat/volcopy/app.js     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list