Skip to content
Snippets Groups Projects
Commit 852a08cc authored by efalcy's avatar efalcy Committed by Patrick Barroca
Browse files

hotline #24590 : following preferences in kiosques

parent 850e4182
Branches
Tags
4 merge requests!915Master,!914Hotline master,!913Stable,!905Hotline #24590 fleches mode liste kiosque
......@@ -259,11 +259,12 @@ class ZendAfi_View_Helper_Accueil_Kiosque extends ZendAfi_View_Helper_Accueil_Ba
public function getKiosqueHtml($page = 1) {
$this->_nombre_notices_par_page = $this->preferences['nb_notices'];
$this->preferences['nb_notices'] = 0;
$this->preferences['nb_analyse'] = 0;
// $this->preferences['nb_notices'] = 0;
// $this->preferences['nb_analyse'] = 0;
$requetes = Class_Catalogue::getLoader()->getRequetes($this->preferences, ['id_notice']);
xdebug_break();
$nombre_total_notices = 0;
$notices = [];
......@@ -290,6 +291,7 @@ class ZendAfi_View_Helper_Accueil_Kiosque extends ZendAfi_View_Helper_Accueil_Ba
'mur' => 'ListeNotices_Mur',
'chrono' => 'ListeNotices_Chrono'];
$helper = $helpers[$this->preferences["style_liste"]];
xdebug_break();
return call_user_func_array([$this->view, $helper], [$notices, $this->preferences]);
}
......
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