Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUG: notify PaginatedList the full-text results are already limited.

PaginatedList needs to be notified about this, otherwise it will
errorneously try to further limit the already limited set, making the
subsequent pages empty.
  • Loading branch information...
commit 3141e713b71db42eb637eb29bd8198e53d502920 1 parent 0dfc823
@mateusz mateusz authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  model/MySQLDatabase.php
View
3  model/MySQLDatabase.php
@@ -880,6 +880,9 @@ public function searchEngine($classesToSearch, $keywords, $start, $pageLength, $
$list->setPageLEngth($pageLength);
$list->setTotalItems($totalCount);
+ // The list has already been limited by the query above
+ $list->setLimitItems(false);
+
return $list;
}
Please sign in to comment.
Something went wrong with that request. Please try again.