Skip to content

Commit

Permalink
Merge pull request civicrm#28409 from colemanw/toolbar
Browse files Browse the repository at this point in the history
SearchKit - Fix toolbar display when not using pager
  • Loading branch information
mattwire authored Dec 3, 2023
2 parents 2dd3f9d + 4778e95 commit b03c0b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/search_kit/Civi/Api4/Action/SearchDisplay/Run.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ protected function processResult(\Civi\Api4\Result\SearchDisplayRunResult $resul
$result->setCountMatched($apiResult->countFetched());
$apiResult = array_slice((array) $apiResult, 0, $apiParams['limit'] - 1);
}
if ($pagerMode === 'page') {
else {
$result->toolbar = $this->formatToolbar();
}
$result->exchangeArray($this->formatResult($apiResult));
Expand Down

0 comments on commit b03c0b0

Please sign in to comment.