Skip to content
Snippets Groups Projects
Commit 15ab97c4 authored by nicolas lebozec's avatar nicolas lebozec
Browse files

FIX #31111 TIME 0:03 indentation

parent e32a301e
No related branches found
No related tags found
No related merge requests found
......@@ -102,12 +102,12 @@ class SearchController
if (Validator::stringType()->notEmpty()->validate($body['title'] ?? null)) {
$requestData = SearchController::getDataForRequest([
'search' => $body['title'],
'fields' => 'unaccent(title) ilike unaccent(?::text)',
'where' => [],
'data' => [],
'fieldsNumber' => 1,
'longField' => true
'search' => $body['title'],
'fields' => 'unaccent(title) ilike unaccent(?::text)',
'where' => [],
'data' => [],
'fieldsNumber' => 1,
'longField' => true
]);
$where[] = implode(' AND ', $requestData['where']);
$data = array_merge($data, $requestData['data']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment