From a60647d1533fdb4180155e127506d8f2cf85ece1 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Fri, 4 Dec 2020 16:25:26 -0800 Subject: [PATCH] dev/core#2188 - Upgrader - Cleanup any invalid combinations of is_search_range=1 These invalid configurations were previously asymptomatic in 5.30 but became symptomatic in 5.31. --- CRM/Upgrade/Incremental/sql/5.32.1.mysql.tpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CRM/Upgrade/Incremental/sql/5.32.1.mysql.tpl b/CRM/Upgrade/Incremental/sql/5.32.1.mysql.tpl index 9a3a335292..1730906f7c 100644 --- a/CRM/Upgrade/Incremental/sql/5.32.1.mysql.tpl +++ b/CRM/Upgrade/Incremental/sql/5.32.1.mysql.tpl @@ -1 +1,4 @@ {* file to handle db changes in 5.32.1 during upgrade *} + +{* dev/core#2188, dev/core#337 (redux) - Ranges aren't support on these widgets. Note: This same change will run again 5.33.beta, and that's OK. *} +UPDATE civicrm_custom_field SET is_search_range = 0 WHERE html_type IN ('Radio', 'Select') AND data_type IN ('Money', 'Float', 'Int'); -- 2.25.1