remove filter dash limit as no performance increase (#2318)

This commit is contained in:
robert schouten 2016-11-22 13:25:59 +08:00 committed by Rushabh Mehta
parent 90bc926730
commit 6917dea00e

View file

@ -215,7 +215,6 @@ def get_filter_dashboard_data(stats, doctype, filters=[]):
fields=[tag["name"], "count(*)"],
filters = filters + ["ifnull(`%s`,'')!=''" % tag["name"]],
group_by = tag["name"],
limit = 20,
as_list = True)
if tag["type"] not in ['Check','Select','Date','Datetime','Int',