fix the number of parameters in the query

This commit is contained in:
Julien Fastré 2023-07-13 10:32:56 +02:00
parent 1409a3b23a
commit 28c41aaf85
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -100,7 +100,7 @@ class ThirdPartyApiSearch implements SearchApiInterface
) + " .
// take postcode label into account, but lower than the canonicalized field
"COALESCE((LOWER(UNACCENT(cmpc.label)) LIKE '%' || LOWER(UNACCENT(?)) || '%')::int * 0.3, 0)";
$pertinenceArgs[] = [$str, $str, $str, $str, $str, $str];
$pertinenceArgs[] = [$str, $str, $str, $str, $str];
}
}