From ecc5398a2d07710639559ee36034e0e77217dacf Mon Sep 17 00:00:00 2001 From: jygaulier Date: Thu, 27 Jun 2024 14:46:22 +0200 Subject: [PATCH] copy of https://github.com/alchemy-fr/Phraseanet/pull/4527/files (#4528) --- .../Phrasea/Controller/Api/V3/V3SearchRawController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Alchemy/Phrasea/Controller/Api/V3/V3SearchRawController.php b/lib/Alchemy/Phrasea/Controller/Api/V3/V3SearchRawController.php index 246351bd56..e8a22d0b52 100644 --- a/lib/Alchemy/Phrasea/Controller/Api/V3/V3SearchRawController.php +++ b/lib/Alchemy/Phrasea/Controller/Api/V3/V3SearchRawController.php @@ -45,6 +45,9 @@ public function searchRawAction(Request $request) $search_result = $se->queryraw((string)$request->get('query'), $options); + $search_result['offset'] = $offset; + $search_result['limit'] = $limit; + $stopwatch->lap("queryraw"); // queryraw returns also a stopwatch, get and remove it