diff --git a/VERSIONS_HOTLINE/182939 b/VERSIONS_HOTLINE/182939 new file mode 100644 index 0000000000000000000000000000000000000000..bf73a4d594488254213cae5f67a9d9ef74bb9e95 --- /dev/null +++ b/VERSIONS_HOTLINE/182939 @@ -0,0 +1 @@ + - correctif #182939 Ressource Numérique Cafeyn: indexation des albums via un script permettant une mise à jour indépendante de l'intégration cosmogramme. \ No newline at end of file diff --git a/scripts/cafeyn_harvest.php b/scripts/cafeyn_harvest.php index 086f9d80e4fceb9f31f08775939c7d360a069ca8..1761491fa5384c41b7e3a3b2147ef1d5ad8cca50 100644 --- a/scripts/cafeyn_harvest.php +++ b/scripts/cafeyn_harvest.php @@ -24,3 +24,6 @@ require __DIR__ . '/../console.php'; $service = new Cafeyn_Service(Cafeyn_Config::getInstance()); $service->harvest(); + +foreach (Class_Album::findAllBy(['type_doc_id' => Cafeyn_Config::getInstance()->getName()]) as $album) + $album->index();