mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[mod] Retain page numbers even when there are no results
This commit is contained in:
committed by
Markus Heiser
parent
c3cc24be12
commit
99fb565b39
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user