From: Thomas Berezansky Date: Tue, 2 Apr 2013 14:18:55 +0000 (-0400) Subject: Fix typo in purge holds function X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=765aea78207f879e81eeb9f3d7614699399e585f;p=evergreen%2Fpines.git Fix typo in purge holds function Signed-off-by: Thomas Berezansky Signed-off-by: Jason Stephenson --- diff --git a/Open-ILS/src/sql/Pg/090.schema.action.sql b/Open-ILS/src/sql/Pg/090.schema.action.sql index 639becd626..d07f07fcd4 100644 --- a/Open-ILS/src/sql/Pg/090.schema.action.sql +++ b/Open-ILS/src/sql/Pg/090.schema.action.sql @@ -879,7 +879,7 @@ BEGIN ahr.* FROM action.hold_request ahr - LEFT JOIN config.global_flag cgf_cs ON (ahr.cancel_cause IS NOT NULL AND cgf_cs.name = 'history.hold.retenetion_age_canceled_' || ahr.cancel_cause AND cgf_cs.enabled) + LEFT JOIN config.global_flag cgf_cs ON (ahr.cancel_cause IS NOT NULL AND cgf_cs.name = 'history.hold.retention_age_canceled_' || ahr.cancel_cause AND cgf_cs.enabled) WHERE (fulfillment_time IS NOT NULL OR cancel_time IS NOT NULL) LOOP diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.purge_holds.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.purge_holds.sql index 3a6714cfd6..693167ac44 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.purge_holds.sql +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.purge_holds.sql @@ -62,7 +62,7 @@ BEGIN ahr.* FROM action.hold_request ahr - LEFT JOIN config.global_flag cgf_cs ON (ahr.cancel_cause IS NOT NULL AND cgf_cs.name = 'history.hold.retenetion_age_canceled_' || ahr.cancel_cause AND cgf_cs.enabled) + LEFT JOIN config.global_flag cgf_cs ON (ahr.cancel_cause IS NOT NULL AND cgf_cs.name = 'history.hold.retention_age_canceled_' || ahr.cancel_cause AND cgf_cs.enabled) WHERE (fulfillment_time IS NOT NULL OR cancel_time IS NOT NULL) LOOP