Commit 8b2b0fe2 authored by Jakub Klinkovský's avatar Jakub Klinkovský Committed by Lukas Fleischer
Browse files

Fix WHERE clause for keyword search queries with empty keywords

When the keyword parameter is empty, the AND clause has to be omitted,
otherwise we get an SQL syntax error:

... WHERE PackageBases.PackagerUID IS NOT NULL AND () ...

This got broken in commit 9e30013a

Author: Kevin Morris <>
Date:   Sun Jul 5 18:19:06 2020 -0700

Support conjunctive keyword search in RPC interface
Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <>
parent b0ff67e1
Pipeline #2080 passed with stage
in 55 seconds