Browse Source

[hotfix] Reportview Filters

version-14
Anand Doshi 11 years ago
parent
commit
82298a2f26
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      webnotes/widgets/reportview.py

+ 3
- 0
webnotes/widgets/reportview.py View File

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


Loading…
Cancel
Save