grab attr value from vandelay.extract_rec_attrs hstore to compare to configured value
authorberick <berick@esilibrary.com>
Wed, 4 May 2011 19:58:37 +0000 (15:58 -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 4082296..cc02d17 100644 (file)
@@ -736,7 +736,7 @@ BEGIN
                 END IF;
             END LOOP;
         ELSE
-            IF test.value = vandelay.extract_rec_attrs(xml, ARRAY[test.svf]) THEN
+            IF test.value = vandelay.extract_rec_attrs(xml, ARRAY[test.svf]) -> test.svf THEN
                 out_q := out_q + test.quality;
             END IF;
         END IF;