]> git.evergreen-ils.org Git - contrib/Conifer.git/commit
LP#778989: Attempt to find "Correct" copy location
authorThomas Berezansky <tsbere@mvlc.org>
Wed, 1 Feb 2012 21:07:05 +0000 (16:07 -0500)
committerBen Shum <bshum@biblio.org>
Tue, 11 Nov 2014 01:30:48 +0000 (20:30 -0500)
commitc3a9893c1109b9779fee362db84119a07a0576fa
treeb4ddec52d1690ef15591b046ec480a82bbddb585
parentd9840749df9da9e1e76a8ec3cbe1db4df6ad7254
LP#778989: Attempt to find "Correct" copy location

This adds a trigger to asset.copy that on insert or change of the location
and/or call number tries to find an identically named copy location that
is scoped to the owning library of the copy.

If it does not find one it uses the location provided.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/sql/Pg/040.schema.asset.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.correct_copy_location.sql [new file with mode: 0644]