From b24f85abe303b21f29cbd663193a548bc7751531 Mon Sep 17 00:00:00 2001 From: eileen Date: Sun, 17 Nov 2019 21:18:47 +1300 Subject: [PATCH] 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 --- templates/CRM/Contact/Form/Search/ResultTasks.tpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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} -- 2.25.1