BUGFIX: Fix accessing non existing property

This commit is contained in:
Daniel Siepmann 2017-08-15 09:27:27 +02:00
parent f311357d0e
commit 9617733826
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -93,7 +93,7 @@ class QueryFactory
*/
protected function addSize(SearchRequestInterface $searchRequest, array &$query)
{
$query = ArrayUtility::arrayMergeRecursiveOverrule($this->query, [
$query = ArrayUtility::arrayMergeRecursiveOverrule($query, [
'from' => $searchRequest->getOffset(),
'size' => $searchRequest->getLimit(),
]);