summaryrefslogtreecommitdiff
path: root/searx/results.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/results.py')
-rw-r--r--searx/results.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/searx/results.py b/searx/results.py
index badd86ddb..19404aec1 100644
--- a/searx/results.py
+++ b/searx/results.py
@@ -218,6 +218,11 @@ class ResultContainer(object):
result_content_len(duplicated.get('content', '')):
duplicated['content'] = result['content']
+ # merge all result's parameters not found in duplicate
+ for key in result.keys():
+ if not duplicated.get(key):
+ duplicated[key] = result.get(key)
+
# add the new position
duplicated['positions'].append(position)