Opens first three regions
authorNicol <vingle@users.noreply.github.com>
Wed, 6 Dec 2023 20:18:57 +0000 (20:18 +0000)
committerGitHub <noreply@github.com>
Wed, 6 Dec 2023 20:18:57 +0000 (20:18 +0000)
Matches behavior of old Advanced Search.

templates/CRM/Contact/Form/Search/AdvancedCriteria.tpl

index 5158476f61d33b9dd5e9358c72971755b0346410..bf35354899e0e67937f90e2631f8d7b4e95e9ec8 100644 (file)
@@ -85,7 +85,7 @@ CRM.$(function($) {
 {/if}
 
 {strip}
-  <details class="crm-accordion-wrapper crm-search_criteria_basic-accordion ">
+  <details class="crm-accordion-wrapper crm-search_criteria_basic-accordion" open>
     <summary class="crm-accordion-header">
       {ts}Display Settings For Results{/ts}
     </summary>
@@ -93,7 +93,7 @@ CRM.$(function($) {
       {include file="CRM/Contact/Form/Search/Criteria/DisplaySettings.tpl"}
     </div>
   </details>
-  <details class="crm-accordion-wrapper crm-search_criteria_basic-accordion ">
+  <details class="crm-accordion-wrapper crm-search_criteria_basic-accordion" open>
     <summary class="crm-accordion-header">
       {ts}Search Settings{/ts}
     </summary>
@@ -101,7 +101,7 @@ CRM.$(function($) {
       {include file="CRM/Contact/Form/Search/Criteria/SearchSettings.tpl"}
     </div>
   </details>
-  <details class="crm-accordion-wrapper crm-search_criteria_basic-accordion ">
+  <details class="crm-accordion-wrapper crm-search_criteria_basic-accordion" open>
     <summary class="crm-accordion-header">
       {ts}Basic Criteria{/ts}
     </summary>