Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
anis
anis-server
Commits
8f76f65a
Commit
8f76f65a
authored
Jul 10, 2019
by
François Agneray
Browse files
Format numérique (float, int) dans la sortie json
parent
70f7ed59
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Action/Search/SearchAction.php
View file @
8f76f65a
...
...
@@ -181,7 +181,7 @@ final class SearchAction
$this
->
logger
->
info
(
'SQL: '
.
$queryBuilder
->
getSQL
());
return
$response
->
withJson
(
$result
);
return
$response
->
withJson
(
$result
,
200
,
JSON_NUMERIC_CHECK
);
}
private
function
getAndVerifySearchType
(
string
$type
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment