]> 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)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 26 Aug 2014 15:55:14 +0000 (11:55 -0400)
commitcc4db7d2a048dd8713d601659567b3b5bb99e427
tree7cb0cb78625f48f009c6ed6c846ed752cd7adf08
parent4e40c888535a1e52951a1264547f8926c8c00d89
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>
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]