queries to server side
diff --git a/controllers/queries.py b/controllers/queries.py
index 67d5318..b3556e5 100644
--- a/controllers/queries.py
+++ b/controllers/queries.py
@@ -29,7 +29,7 @@
 					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 = ''