留存标签过滤
This commit is contained in:
parent
2cec740503
commit
15b4404c45
@ -762,7 +762,7 @@ ORDER BY values desc"""
|
|||||||
if where:
|
if where:
|
||||||
qry = sa.select().where(*where)
|
qry = sa.select().where(*where)
|
||||||
sql = str(qry.compile(compile_kwargs={"literal_binds": True}))
|
sql = str(qry.compile(compile_kwargs={"literal_binds": True}))
|
||||||
where_a = sql.split('WHERE ')[1]
|
where_a = 'WHERE '.join(sql.split('WHERE ')[1:])
|
||||||
|
|
||||||
where, _ = await self.handler_filts((self.events[1]['filts'], self.events[1].get('relation', 'and')),
|
where, _ = await self.handler_filts((self.events[1]['filts'], self.events[1].get('relation', 'and')),
|
||||||
(self.global_filters, self.global_relation)
|
(self.global_filters, self.global_relation)
|
||||||
|
Loading…
Reference in New Issue
Block a user