bugfix
This commit is contained in:
parent
3401a26acf
commit
0bfb03da9f
@ -235,7 +235,7 @@ class CRUD(object):
|
|||||||
dbf = DBFilter(filters)
|
dbf = DBFilter(filters)
|
||||||
fstr = fstr + dbf.genFilterString()
|
fstr = fstr + dbf.genFilterString()
|
||||||
else:
|
else:
|
||||||
fstr = await self.defaultFilter(NS)
|
fstr = await self.defaultFilter(NS,**kw)
|
||||||
sqldesc = {
|
sqldesc = {
|
||||||
"sql_string":"""select * from %s where 1=1 %s""" % (self.tablename,fstr),
|
"sql_string":"""select * from %s where 1=1 %s""" % (self.tablename,fstr),
|
||||||
}
|
}
|
||||||
@ -249,7 +249,7 @@ class CRUD(object):
|
|||||||
dbf = DBFilter(filters)
|
dbf = DBFilter(filters)
|
||||||
fstr = fstr + dbf.genFilterString()
|
fstr = fstr + dbf.genFilterString()
|
||||||
else:
|
else:
|
||||||
fstr = await self.defaultFilter(NS)
|
fstr = await self.defaultFilter(NS,**kw)
|
||||||
|
|
||||||
sqldesc = {
|
sqldesc = {
|
||||||
"sql_string":"""select * from %s where 1=1 %s""" % (self.tablename,fstr),
|
"sql_string":"""select * from %s where 1=1 %s""" % (self.tablename,fstr),
|
||||||
|
Loading…
Reference in New Issue
Block a user