瀏覽代碼

[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
     else:
28
     else:
29
         host_b = url_b.netloc
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
         return False
32
         return False
33
 
33
 
34
     # remove / from the end of the url if required
34
     # remove / from the end of the url if required