commit: 413e143707f9b573d8740cae92152e54df8fdfcd
parent 104cdb7d03771d4eca5b5126532ccf47642bb9de
Author: David A Roberts <d@vidr.cc>
Date: Sun, 14 Aug 2016 21:40:28 +1000
[fix] don't merge results with distinct fragments
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/searx/results.py b/searx/results.py
@@ -28,7 +28,7 @@ def compare_urls(url_a, url_b):
else:
host_b = url_b.netloc
- if host_a != host_b or url_a.query != url_b.query:
+ if host_a != host_b or url_a.query != url_b.query or url_a.fragment != url_b.fragment:
return False
# remove / from the end of the url if required