]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Attempt to find "Correct" copy location
authorThomas Berezansky <tsbere@mvlc.org>
Wed, 1 Feb 2012 21:07:05 +0000 (16:07 -0500)
committerThomas Berezansky <tsbere@mvlc.org>
Tue, 26 Aug 2014 16:04:13 +0000 (12:04 -0400)
commitb45eaa9f42debee4230bee96b9a50502493afdbd
tree521ced60a63d45aae289cf08d67f652365001297
parente79081507e1c934990f0103a3a34d450d317484a
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>
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]