queries to server side
This commit is contained in:
parent
86408c3d44
commit
2deca5f3f6
@ -29,7 +29,7 @@ def get_filters_cond(doctype, filters, conditions):
|
|||||||
flt.append([doctype, f[0], '=', f[1]])
|
flt.append([doctype, f[0], '=', f[1]])
|
||||||
|
|
||||||
from webnotes.widgets.reportview import build_filter_conditions
|
from webnotes.widgets.reportview import build_filter_conditions
|
||||||
build_filter_conditions(filters, conditions)
|
build_filter_conditions(flt, conditions)
|
||||||
cond = ' and ' + ' and '.join(conditions)
|
cond = ' and ' + ' and '.join(conditions)
|
||||||
else:
|
else:
|
||||||
cond = ''
|
cond = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user