aurweb/web
Jakub Klinkovský bc972089a1 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 9e30013aa4fc6ce3a3c9f6f83a6fe789c1fc2456
Author: Kevin Morris <kevr.gtalk@gmail.com>
Date:   Sun Jul 5 18:19:06 2020 -0700

Support conjunctive keyword search in RPC interface

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2021-02-20 11:25:21 -05:00
..
html Redirect to referer after SSO login 2021-02-20 11:25:21 -05:00
lib Fix WHERE clause for keyword search queries with empty keywords 2021-02-20 11:25:21 -05:00
locale Add dummy "web/locale/" directory. 2011-04-10 15:40:49 +02:00
template Properly escape passwords in the account edit form 2020-02-27 16:44:36 +01:00