Skip to content

Commit

Permalink
Merge pull request #13217 from eileenmcnaughton/search_panes
Browse files Browse the repository at this point in the history
dev/core#529 open search panes when when reviewing smart groups if they have stuff selected
  • Loading branch information
seamuslee001 authored Dec 5, 2018
2 parents abfbe38 + 13fc363 commit 1a5a38d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/CRM/Contact/Form/Search/AdvancedCriteria.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,8 @@ CRM.$(function($) {
{include file="CRM/Contact/Form/Search/Criteria/Basic.tpl"}
</div>
</div>

{foreach from=$allPanes key=paneName item=paneValue}
<div class="crm-accordion-wrapper crm-ajax-accordion crm-{$paneValue.id}-accordion {if $paneValue.open eq 'true' and $openedPanes.$paneName} {else}collapsed{/if}">
<div class="crm-accordion-wrapper crm-ajax-accordion crm-{$paneValue.id}-accordion {if $paneValue.open eq 'true' || $openedPanes.$paneName} {else}collapsed{/if}">
<div class="crm-accordion-header" id="{$paneValue.id}">
{$paneName}
</div>
Expand Down

0 comments on commit 1a5a38d

Please sign in to comment.