From aa486e0fdc53d7fc1d515e27ba8c1a349ffe0260 Mon Sep 17 00:00:00 2001 From: Steph Date: Fri, 8 Sep 2023 09:49:53 -0400 Subject: [PATCH] move location of DYNAMICALLY_UPDATE_SEARCH_RESULTS toggle declaration-- no logic change --- corehq/toggles/__init__.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/corehq/toggles/__init__.py b/corehq/toggles/__init__.py index df0ede08a2ef..26238bc5833e 100644 --- a/corehq/toggles/__init__.py +++ b/corehq/toggles/__init__.py @@ -1030,16 +1030,6 @@ def _ensure_valid_randomness(randomness): namespaces=[NAMESPACE_DOMAIN] ) -DYNAMICALLY_UPDATE_SEARCH_RESULTS = StaticToggle( - 'dynamically_update_search_results', - "In case search with split screen case search enabled, search results update when a search field is updated" - " without requiring the user to manually press a button to search.", - TAG_CUSTOM, - help_link='https://confluence.dimagi.com/display/USH/Split+Screen+Case+Search', - namespaces=[NAMESPACE_DOMAIN], - parent_toggles=[SPLIT_SCREEN_CASE_SEARCH] -) - SPLIT_SCREEN_CASE_SEARCH = StaticToggle( 'split_screen_case_search', "Split screen case search: In case search, show the search filters in a sidebar on the left and the results" @@ -1050,6 +1040,16 @@ def _ensure_valid_randomness(randomness): parent_toggles=[SYNC_SEARCH_CASE_CLAIM] ) +DYNAMICALLY_UPDATE_SEARCH_RESULTS = StaticToggle( + 'dynamically_update_search_results', + "In case search with split screen case search enabled, search results update when a search field is updated" + " without requiring the user to manually press a button to search.", + TAG_CUSTOM, + help_link='https://confluence.dimagi.com/display/USH/Split+Screen+Case+Search', + namespaces=[NAMESPACE_DOMAIN], + parent_toggles=[SPLIT_SCREEN_CASE_SEARCH] +) + USH_USERCASES_FOR_WEB_USERS = StaticToggle( 'usercases_for_web_users', "USH: Enable the creation of usercases for web users.",