From a6b3f9c8a3b08c67866f2557ccd579c1e2341cf2 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Wed, 31 Mar 2021 15:50:19 -0400 Subject: [PATCH] SearchKit - Add unit test for SearchDisplay::run --- ext/search/Civi/Api4/Action/SearchDisplay/Run.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/search/Civi/Api4/Action/SearchDisplay/Run.php b/ext/search/Civi/Api4/Action/SearchDisplay/Run.php index 1d736be0c850..5a8d5504ef81 100644 --- a/ext/search/Civi/Api4/Action/SearchDisplay/Run.php +++ b/ext/search/Civi/Api4/Action/SearchDisplay/Run.php @@ -32,7 +32,7 @@ class Run extends \Civi\Api4\Generic\AbstractAction { * Array of fields to use for ordering the results * @var array */ - protected $sort; + protected $sort = []; /** * Should this api call return a page of results or the row_count or the ids