LP1712922: Exclude Deleted ACPL in Vol/Copy Editor user/jboyer/lp1712922_web_acpl
authorJason Boyer <jboyer@library.in.gov>
Thu, 24 Aug 2017 21:34:02 +0000 (17:34 -0400)
committerJason Boyer <jboyer@library.in.gov>
Thu, 24 Aug 2017 21:34:02 +0000 (17:34 -0400)
Just what it says on the tin. When loading the list of ACPL
in the editor only retrieve the non-deleted locations.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js

index 8399f72..19596b9 100644 (file)
@@ -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}
         );
     };