dev/core#1377 Fix bug where search action doesn't work.
authoreileen <emcnaughton@wikimedia.org>
Sun, 17 Nov 2019 08:18:47 +0000 (21:18 +1300)
committereileen <emcnaughton@wikimedia.org>
Sun, 17 Nov 2019 08:19:12 +0000 (21:19 +1300)
Fixes a regression where the search actions are not working on the contributionAggregate custom search

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

index 6cbddae95b06418aa4f1960b0132b5675a776b1b..35a7bef93b28fe489dd058505f7dfd752bf2bff7 100644 (file)
         {$form.task.html}
      {/if}
      {if $action eq 512}
-       {$form._qf_Advanced_next_action.html}
+       {$form.$actionButtonName.html}
      {elseif $action eq 8192}
+       {* todo - just use action button name per above  - test *}
        {$form._qf_Builder_next_action.html}&nbsp;&nbsp;
      {elseif $action eq 16384}
+       {* todo - just use action button name per above - test *}
        {$form._qf_Custom_next_action.html}&nbsp;&nbsp;
      {else}
+       {* todo - just use action button name per above  - test *}
        {$form._qf_Basic_next_action.html}
      {/if}
      </td>