repaired copy/paste error in match_bib_record
authorberick <berick@esilibrary.com>
Wed, 4 May 2011 19:45:55 +0000 (15:45 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 6 Jul 2011 18:50:51 +0000 (14:50 -0400)
Open-ILS/src/sql/Pg/012.schema.vandelay.sql

index 8c18550..4082296 100644 (file)
@@ -689,7 +689,7 @@ BEGIN
 
     SELECT * INTO my_bib_queue FROM vandelay.bib_queue WHERE id = NEW.queue;
 
-    NEW.quality := vandelay.measure_record_quality( b.marc, my_bib_queue.match_set );
+    NEW.quality := vandelay.measure_record_quality( NEW.marc, my_bib_queue.match_set );
 
     -- Perfect matches on 901$c exit early with a match with high quality.
     incoming_existing_id :=