mirror of
https://github.com/resf/distro-tools.git
synced 2024-11-16 10:11:26 +00:00
Use (select search) instead of (select product)
This commit is contained in:
parent
c6f6c2c47d
commit
08e8e5b189
@ -84,7 +84,7 @@ async def fetch_advisories(
|
||||
|
||||
if keyword:
|
||||
where_stmt += """
|
||||
and (ap.name like '%' || (select product from vars) || '%' or
|
||||
and (ap.name like '%' || (select search from vars) || '%' or
|
||||
a.synopsis ilike '%' || (select search from vars) || '%' or
|
||||
a.description ilike '%' || (select search from vars) || '%' or
|
||||
exists (select cve from advisory_cves where advisory_id = a.id and cve ilike '%' || (select search from vars) || '%') or
|
||||
|
Loading…
Reference in New Issue
Block a user