From 46943e6f51ce8a6aca032bfed15a4d25f1ac5af5 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 8 Apr 2021 11:12:25 -0400 Subject: [PATCH] SearchKit - Fix broken export action --- ext/search/Civi/Api4/Action/SearchDisplay/GetSearchTasks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/search/Civi/Api4/Action/SearchDisplay/GetSearchTasks.php b/ext/search/Civi/Api4/Action/SearchDisplay/GetSearchTasks.php index a65b4d5364..4cd63717de 100644 --- a/ext/search/Civi/Api4/Action/SearchDisplay/GetSearchTasks.php +++ b/ext/search/Civi/Api4/Action/SearchDisplay/GetSearchTasks.php @@ -41,7 +41,7 @@ class GetSearchTasks extends \Civi\Api4\Generic\AbstractAction { 'icon' => 'fa-file-excel-o', 'crmPopup' => [ 'path' => "'civicrm/export/standalone'", - 'query' => "{entity: {$entity['name']}, id: ids.join(',')}", + 'query' => "{entity: '{$entity['name']}', id: ids.join(',')}", ], ]; } -- 2.25.1