浏览代码

[fix] don't merge results with distinct fragments

David A Roberts 8 年前
父节点
当前提交
413e143707
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      searx/results.py

+ 1
- 1
searx/results.py 查看文件

@@ -28,7 +28,7 @@ def compare_urls(url_a, url_b):
28 28
     else:
29 29
         host_b = url_b.netloc
30 30
 
31
-    if host_a != host_b or url_a.query != url_b.query:
31
+    if host_a != host_b or url_a.query != url_b.query or url_a.fragment != url_b.fragment:
32 32
         return False
33 33
 
34 34
     # remove / from the end of the url if required