From 633e2b546cb9c16f72e4ac216e4cb65ef2be0b16 Mon Sep 17 00:00:00 2001 From: Himanshu Warekar Date: Wed, 27 Nov 2019 12:59:50 +0530 Subject: [PATCH] fix: do not pop item from list --- frappe/utils/global_search.py | 1 - 1 file changed, 1 deletion(-) diff --git a/frappe/utils/global_search.py b/frappe/utils/global_search.py index 7c38298dc3..c127a55619 100644 --- a/frappe/utils/global_search.py +++ b/frappe/utils/global_search.py @@ -477,7 +477,6 @@ def search(text, start=0, limit=20, doctype=""): frappe.clear_messages() sorted_results.extend([r]) - results.pop(index) return sorted_results or results