unset any limit as we do not have pagination when showing search-results, refs #869
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -164,6 +164,9 @@ class Pagination
|
|||||||
// if a search is performed, the result-entries-count is irrelevant
|
// if a search is performed, the result-entries-count is irrelevant
|
||||||
// we do not want pagination
|
// we do not want pagination
|
||||||
$this->is_search = true;
|
$this->is_search = true;
|
||||||
|
// unset any limit as we do not have pagination when showing search-results
|
||||||
|
unset($this->data['sql_limit']);
|
||||||
|
unset($this->data['sql_offset']);
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user