From 0bfb03da9f429a29f1112c3e96f8a9d1353c6aef Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 23 Oct 2019 16:29:33 +0800 Subject: [PATCH] bugfix --- sqlor/crud.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqlor/crud.py b/sqlor/crud.py index 53802bc..d4074ba 100755 --- a/sqlor/crud.py +++ b/sqlor/crud.py @@ -235,7 +235,7 @@ class CRUD(object): dbf = DBFilter(filters) fstr = fstr + dbf.genFilterString() else: - fstr = await self.defaultFilter(NS) + fstr = await self.defaultFilter(NS,**kw) sqldesc = { "sql_string":"""select * from %s where 1=1 %s""" % (self.tablename,fstr), } @@ -249,7 +249,7 @@ class CRUD(object): dbf = DBFilter(filters) fstr = fstr + dbf.genFilterString() else: - fstr = await self.defaultFilter(NS) + fstr = await self.defaultFilter(NS,**kw) sqldesc = { "sql_string":"""select * from %s where 1=1 %s""" % (self.tablename,fstr),