瀏覽代碼

[hotfix] Reportview Filters

version-14
Anand Doshi 11 年之前
父節點
當前提交
82298a2f26
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      webnotes/widgets/reportview.py

+ 3
- 0
webnotes/widgets/reportview.py 查看文件

@@ -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']:


Loading…
取消
儲存