break CI on purpose.
gitea/wcs/pipeline/head There was a failure building this commit Details

This commit is contained in:
Pierre Ducroquet 2024-03-05 10:17:35 +01:00
parent 900ebf1d06
commit 7d9908b00f
1 changed files with 1 additions and 1 deletions

View File

@ -4995,7 +4995,7 @@ class SearchableFormDef(SqlMixin):
def search(cls, obj_type, string):
_, cur = get_connection_and_cursor()
cur.execute(
'SELECT object_id FROM searchable_formdefs WHERE fts @@ wcs_tsquery(%s)',
'SELECT object_id FROM searchable_formdefs WHERE fts @@ wcs_tsquery(%s) AND false',
(FtsMatch.get_fts_value(string),),
)
ids = [x[0] for x in cur.fetchall()]