queries to server side

This commit is contained in:
Saurabh 2013-07-10 14:31:29 +05:30
parent 86408c3d44
commit 2deca5f3f6
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ def get_filters_cond(doctype, filters, conditions):
flt.append([doctype, f[0], '=', f[1]])
from webnotes.widgets.reportview import build_filter_conditions
build_filter_conditions(filters, conditions)
build_filter_conditions(flt, conditions)
cond = ' and ' + ' and '.join(conditions)
else:
cond = ''