From aa4fbb88b33a5b8f55295605caecf4841cfbb05a Mon Sep 17 00:00:00 2001 From: berick Date: Wed, 4 May 2011 15:58:37 -0400 Subject: [PATCH] grab attr value from vandelay.extract_rec_attrs hstore to compare to configured value --- Open-ILS/src/sql/Pg/012.schema.vandelay.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/sql/Pg/012.schema.vandelay.sql b/Open-ILS/src/sql/Pg/012.schema.vandelay.sql index 4082296bb8..cc02d1733c 100644 --- a/Open-ILS/src/sql/Pg/012.schema.vandelay.sql +++ b/Open-ILS/src/sql/Pg/012.schema.vandelay.sql @@ -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; -- 2.11.0