fix: do not pop item from list

This commit is contained in:
Himanshu Warekar 2019-11-27 12:59:50 +05:30
parent f6858c1744
commit 633e2b546c

View file

@ -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