We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc6a4d9 commit d54a476Copy full SHA for d54a476
Classes/Domain/Search/SearchRequest.php
@@ -350,7 +350,9 @@ public function getSeperatedSortings(): array
350
351
foreach ($explodedSortings as $sorting) {
352
$sortingSeperated = explode(' ', $sorting);
353
- $parsedSortings[$sortingSeperated[0]] = $sortingSeperated[1];
+ if (count($sortingSeperated) === 2) {
354
+ $parsedSortings[$sortingSeperated[0]] = $sortingSeperated[1];
355
+ }
356
}
357
358
return $parsedSortings;
0 commit comments