diff options
author | obfuscated-loop <codemailbox@protonmail.com> | 2023-11-22 10:49:45 +0000 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-11-27 14:07:04 +0100 |
commit | 99fb565b391b04d10bd2f41fe6ecebb438fc4240 (patch) | |
tree | 7823c0c1e9502142e6cb1a8b964bc62462fa7c83 /searx/results.py | |
parent | c3cc24be125564b3ab27b8cdc217bf1e9ffdcd48 (diff) | |
download | searxng-99fb565b391b04d10bd2f41fe6ecebb438fc4240.tar.gz searxng-99fb565b391b04d10bd2f41fe6ecebb438fc4240.zip |
[mod] Retain page numbers even when there are no results
Diffstat (limited to 'searx/results.py')
-rw-r--r-- | searx/results.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/results.py b/searx/results.py index caf02213d..471d16981 100644 --- a/searx/results.py +++ b/searx/results.py @@ -232,7 +232,7 @@ class ResultContainer: if engine_name in engines: histogram_observe(standard_result_count, 'engine', engine_name, 'result', 'count') - if not self.paging and standard_result_count > 0 and engine_name in engines and engines[engine_name].paging: + if not self.paging and engine_name in engines and engines[engine_name].paging: self.paging = True def _merge_infobox(self, infobox): |