[open-ils-commits] [GIT] Evergreen ILS branch master updated. 9a0120762a77f44f2f117b574f20ed4cd5ae7da1

Evergreen Git git at git.evergreen-ils.org
Fri Nov 4 10:20:45 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, master has been updated
       via  9a0120762a77f44f2f117b574f20ed4cd5ae7da1 (commit)
      from  450b6106418e04f86ed1d3135f60c2ca23693f7d (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 9a0120762a77f44f2f117b574f20ed4cd5ae7da1
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