From eff630da8da38c8c8c872bf92cf0418265f81848 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Wed, 29 Jul 2020 08:28:04 +0200 Subject: [PATCH] unset any limit as we do not have pagination when showing search-results, refs #869 Signed-off-by: Michael Kaufmann --- lib/Froxlor/UI/Pagination.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Froxlor/UI/Pagination.php b/lib/Froxlor/UI/Pagination.php index 107d38d6..91a1699d 100644 --- a/lib/Froxlor/UI/Pagination.php +++ b/lib/Froxlor/UI/Pagination.php @@ -164,6 +164,9 @@ class Pagination // if a search is performed, the result-entries-count is irrelevant // we do not want pagination $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; }