Skip to content
Snippets Groups Projects
Commit a1c6d5b1 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev_#17514_index carts into _domains in cosmogramme step 15

parent d74385d4
Branches
Tags
5 merge requests!715Master,!686Dev#17514 indexation refactoring,!649Dev#19675 improve display articles and sito in kiosque,!630Dev#17514 indexation refactoring,!618Dev #17514 indexation paniers domaines
......@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
* along with BOKEH; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
/////////////////////////////////////////////////////////////////////////
// INTEGRATION DES RESERVATIONS
......@@ -32,7 +32,7 @@ if ($phase==14) {
$phase_data["timeStart"]=time();
$phase_data["pointeur"]=0;
$phase_data["domaine"]=0;
$phase=15;
}
......@@ -40,7 +40,7 @@ if ($phase==15) {
$position_domaine=$phase_data["domaine"];
// Indexation des catalogues dynamiques
$catalogues = array_slice(Class_Catalogue::findAllCataloguesAIndexer(),$position_domaine);
foreach ($catalogues as $catalogue) {
$page=$phase_data["pointeur"];
$log->ecrire("Indexation du domaine : ".$catalogue->getLibelle()."<br/>");
......@@ -53,6 +53,10 @@ if ($phase==15) {
$phase_data["pointeur"]=0;
}
$log->ecrire('Début de l\'indexation des paniers dans les domaines');
Class_PanierNotice::indexAll();
$log->ecrire('Fin de l\'indexation des paniers dans les domaines');
}
?>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment