]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP1712922: Exclude Deleted ACPL in Vol/Copy Editor
authorJason Boyer <jboyer@library.in.gov>
Thu, 24 Aug 2017 21:34:02 +0000 (17:34 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 25 Aug 2017 14:59:14 +0000 (10:59 -0400)
commitf10de92a70e1f9ec99130399a964722ac0c7843f
treeff368e62be450a020a21c330f95320b8dc4b53db
parentc77c6690b13fc28e2f5cbc542e4c858ae86c8ad6
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@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js