[hotfix] Reportview Filters

This commit is contained in:
Anand Doshi 2013-12-30 19:30:43 +05:30
parent 2b0c2595c7
commit 82298a2f26

View file

@ -172,6 +172,9 @@ def build_filter_conditions(filters, conditions):
tname = ('`tab' + f[0] + '`')
if not tname in webnotes.local.reportview_tables:
webnotes.local.reportview_tables.append(tname)
if not hasattr(webnotes.local, "reportview_doctypes"):
load_doctypes()
# prepare in condition
if f[2] in ['in', 'not in']: