From 99fb565b391b04d10bd2f41fe6ecebb438fc4240 Mon Sep 17 00:00:00 2001 From: obfuscated-loop Date: Wed, 22 Nov 2023 10:49:45 +0000 Subject: [mod] Retain page numbers even when there are no results --- searx/results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/results.py') 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): -- cgit v1.2.3