Skip to content

Commit

Permalink
UHF-11002: Update default query
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Jan 17, 2025
1 parent ee50819 commit 43149eb
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,10 @@ protected function getOperatorCallback(?string $op): callable {
* The query.
*/
protected function buildQuery(array $parameters, array $sorts) : array {
$body = [];
$body = [
'sort' => [],
'query' => [],
];

foreach ($parameters as $parameter) {
['field' => $field, 'value' => $value, 'operator' => $op] = $parameter;
Expand Down

0 comments on commit 43149eb

Please sign in to comment.