File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1919 "require" : {
2020 "php" : " ~8.3.0 || ~8.4.0 " ,
2121 "nesbot/carbon" : " ^3.8.4" ,
22- "pimcore/pimcore" : " ^12.0 " ,
22+ "pimcore/pimcore" : " ^12.3 " ,
2323 "pimcore/static-resolver-bundle" : " ^3.0" ,
2424 "pimcore/opensearch-client" : " ^2.0" ,
2525 "pimcore/elasticsearch-client" : " ^2.0" ,
Original file line number Diff line number Diff line change 1717use Pimcore \Bundle \GenericDataIndexBundle \Model \DefaultSearch \Debug \SearchInformation ;
1818use Pimcore \Bundle \GenericDataIndexBundle \SearchIndexAdapter \DefaultSearch \DefaultSearchService ;
1919use Pimcore \Bundle \GenericDataIndexBundle \SearchIndexAdapter \SearchIndexServiceInterface ;
20+ use Pimcore \Helper \ParameterBagHelper ;
2021use Symfony \Component \EventDispatcher \EventSubscriberInterface ;
2122use Symfony \Component \HttpFoundation \JsonResponse ;
2223use Symfony \Component \HttpKernel \Event \ResponseEvent ;
@@ -48,7 +49,7 @@ public function onKernelResponse(ResponseEvent $event): void
4849 if (!Pimcore::inDebugMode () || empty ($ event ->getRequest ()->query ->get (self ::DEBUG_SEARCH_PARAM ))) {
4950 return ;
5051 }
51- $ verbosity = $ event ->getRequest ()->query -> getInt ( self ::DEBUG_SEARCH_PARAM );
52+ $ verbosity = ParameterBagHelper:: getInt ( $ event ->getRequest ()->query , self ::DEBUG_SEARCH_PARAM );
5253 $ event ->setResponse (new JsonResponse ($ this ->getNormalizedSearches ($ verbosity )));
5354 }
5455
You can’t perform that action at this time.
0 commit comments