Changing essential part of query
This commit is contained in:
parent
08a2a2b0e5
commit
1643650685
|
@ -336,7 +336,7 @@ def render(args):
|
||||||
query = query.join(certificate_associations).join(Domain).filter(
|
query = query.join(certificate_associations).join(Domain).filter(
|
||||||
or_(
|
or_(
|
||||||
Certificate.name.ilike(term),
|
Certificate.name.ilike(term),
|
||||||
Certificate.domains.any(Domain.name.ilike(term)),
|
Domain.name.ilike(term),
|
||||||
Certificate.cn.ilike(term),
|
Certificate.cn.ilike(term),
|
||||||
)
|
)
|
||||||
).group_by(Certificate.id)
|
).group_by(Certificate.id)
|
||||||
|
|
Loading…
Reference in New Issue