[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. 615258a3e783a3a9b7840e2ba7703c30ee54c1c1
Evergreen Git
git at git.evergreen-ils.org
Fri Nov 4 10:20:31 EDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_0 has been updated
via 615258a3e783a3a9b7840e2ba7703c30ee54c1c1 (commit)
from 78f260007cb477717d793f77e47257c44c4979c0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 615258a3e783a3a9b7840e2ba7703c30ee54c1c1
Author: Liam Whalen <lwhalen at nrcan-rncan.gc.ca>
Date: Thu Nov 3 16:53:57 2011 -0400
Modified authority.indexing_ingest_or_delete to update MARC data
The authority.indexing_ingest_or_delete trigger in the update script
was missing a call to authority.propagate_changes which is responsible
for updating the MARC data of records affected by an auhtority merge.
This patch adds the call to authority.propagate_changes as it appears
in the authority.indexing_ingest_or_delete trigger from the file
999.functions.global.sql.
Signed-off-by: Liam Whalen <lwhalen at nrcan-rncan.gc.ca>
Signed-off-by: Dan Scott <dscott at laurentian.ca>
diff --git a/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql b/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql
index 1302226..467b7bb 100644
--- a/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql
+++ b/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql
@@ -11075,6 +11075,8 @@ BEGIN
IF NOT FOUND AND OLD.marc = NEW.marc THEN -- don't do anything if the MARC didn't change
RETURN NEW;
END IF;
+ -- Propagate these updates to any linked bib records
+ PERFORM authority.propagate_changes(NEW.id) FROM authority.record_entry WHERE id = NEW.id;
END IF;
-- Record authority linking
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list