Skip to content

Commit

Permalink
I have no idea why it should work
Browse files Browse the repository at this point in the history
  • Loading branch information
lbajsarowicz committed Feb 25, 2020
1 parent c403c52 commit d7cdd7b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ public function resolve(): SearchCriteria
$searchCriteria->setRequestName($this->searchRequestName);
$searchCriteria->setSortOrders($this->orders);
$searchCriteria->setCurrentPage($this->currentPage - 1);
$searchCriteria->setPageSize($this->size);
if ($this->size) {
$searchCriteria->setPageSize($this->size);
}

return $searchCriteria;
}
Expand Down

0 comments on commit d7cdd7b

Please sign in to comment.