From: eileen Date: Sun, 17 Nov 2019 08:18:47 +0000 (+1300) Subject: dev/core#1377 Fix bug where search action doesn't work. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b24f85abe303b21f29cbd663193a548bc7751531;p=civicrm-core.git dev/core#1377 Fix bug where search action doesn't work. Fixes a regression where the search actions are not working on the contributionAggregate custom search --- diff --git a/templates/CRM/Contact/Form/Search/ResultTasks.tpl b/templates/CRM/Contact/Form/Search/ResultTasks.tpl index 6cbddae95b..35a7bef93b 100644 --- a/templates/CRM/Contact/Form/Search/ResultTasks.tpl +++ b/templates/CRM/Contact/Form/Search/ResultTasks.tpl @@ -83,12 +83,15 @@ {$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}   {elseif $action eq 16384} + {* todo - just use action button name per above - test *} {$form._qf_Custom_next_action.html}   {else} + {* todo - just use action button name per above - test *} {$form._qf_Basic_next_action.html} {/if}