From e81d0c8876711a14723ddbb12a4d09b63ad5bd68 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Fri, 29 Mar 2013 08:52:56 -0700 Subject: [PATCH] CRM-12233 Add upgrade statement to fix Membership field label for quick config ---------------------------------------- * CRM-12233: Online membership signup - contribution amounts field should not be required + various notices http://issues.civicrm.org/jira/browse/CRM-12233 --- CRM/Upgrade/Incremental/sql/4.3.beta5.mysql.tpl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CRM/Upgrade/Incremental/sql/4.3.beta5.mysql.tpl b/CRM/Upgrade/Incremental/sql/4.3.beta5.mysql.tpl index b27c0d3d76..6ce8d4ecf7 100644 --- a/CRM/Upgrade/Incremental/sql/4.3.beta5.mysql.tpl +++ b/CRM/Upgrade/Incremental/sql/4.3.beta5.mysql.tpl @@ -1,3 +1,9 @@ -- CRM-12142 -- Populate default text for premiums_nothankyou_label -UPDATE `civicrm_premiums` SET {localize field="premiums_nothankyou_label"}premiums_nothankyou_label = '{ts escape="sql"}No thank-you{/ts}'{/localize}; \ No newline at end of file +UPDATE `civicrm_premiums` SET {localize field="premiums_nothankyou_label"}premiums_nothankyou_label = '{ts escape="sql"}No thank-you{/ts}'{/localize}; + +-- CRM-12233 Fix price field label for quick config membership signup field +UPDATE `civicrm_price_field` cpf +LEFT JOIN `civicrm_price_set` cps ON cps.id = cpf.price_set_id +SET {localize field="label"}cpf.label = '{ts escape="sql"}Membership{/ts}'{/localize} +WHERE cps.is_quick_config = 1 AND cpf.name = 'membership_amount'; \ No newline at end of file -- 2.25.1