Update frappe/desk/reportview.py

Co-Authored-By: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
This commit is contained in:
Himanshu 2019-12-25 09:48:04 +05:30 committed by GitHub
parent ddaae94282
commit 6c39d3c3d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -275,7 +275,6 @@ def get_sidebar_stats(stats, doctype, filters=[]):
elif len(filter) == 4 and filter[0] == doctype:
with_child_table_filter = True
filters.pop(idx)
for tag in frappe.get_all("Tag Link", filters={"document_type": doctype}, fields=["tag"]):
if tag.tag in tag_list: