Skip to content

Commit

Permalink
Merge pull request civicrm#22289 from eileenmcnaughton/urls
Browse files Browse the repository at this point in the history
Enotice fixes on ContributionPage dash
  • Loading branch information
eileenmcnaughton authored Dec 22, 2021
2 parents e28cb6a + c936cb5 commit a5b9b33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CRM/Utils/PagerAToZ.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public static function createLinks(&$query, $sortByCharacter, $isDAO) {
continue;
}

$element = [];
$element = ['class' => ''];
if (in_array($link, $dynamicAlphabets)) {
$klass = '';
if ($link == $sortByCharacter) {
Expand Down Expand Up @@ -186,7 +186,7 @@ public static function createLinks(&$query, $sortByCharacter, $isDAO) {
),
ts('All')
);
$aToZBar[] = ['item' => $url];
$aToZBar[] = ['item' => $url, 'class' => ''];
return $aToZBar;
}

Expand Down
2 changes: 1 addition & 1 deletion templates/CRM/common/pagerAToZ.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div id="alpha-filter">
<ul>
{foreach from=$aToZ item=letter}
<li {if !empty($letter.class)}class="{$letter.class}"{/if}>{$letter.item}</li>
<li {if $letter.class}class="{$letter.class}"{/if}>{$letter.item}</li>
{/foreach}
</ul>
</div>

0 comments on commit a5b9b33

Please sign in to comment.