mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 20:43:25 +00:00
Fix #1647 : Cleanup SE cache after API query
This commit is contained in:
@@ -908,6 +908,8 @@ class API_V1_adapter extends API_V1_Abstract
|
|||||||
$this->app['phraseanet.SE.logger']->log($databox, $search_result->getQuery(), $search_result->getTotal(), $colls);
|
$this->app['phraseanet.SE.logger']->log($databox, $search_result->getQuery(), $search_result->getTotal(), $colls);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->app['phraseanet.SE']->clearCache();
|
||||||
|
|
||||||
$ret = array(
|
$ret = array(
|
||||||
'offset_start' => $offsetStart,
|
'offset_start' => $offsetStart,
|
||||||
'per_page' => $perPage,
|
'per_page' => $perPage,
|
||||||
|
Reference in New Issue
Block a user