Skip to content
Snippets Groups Projects
Commit abd77421 authored by llaffont's avatar llaffont
Browse files

Correction suite refacto affichage résultat de recherche

parent 0159daf8
Branches
Tags
No related merge requests found
......@@ -154,12 +154,11 @@ class Class_NoticeHtml {
$premieres_notices = array_splice($notices, 0, 5);
$helper = $view->getHelper('listeNotices');
$codes_facettes = Class_Profil::getCurrentProfil()->getChampsNoticeResultatRecherche();
$html .= $helper->listeVignettes($premieres_notices, $codes_facettes);
$html .= $view->ListeNotices_Vignettes($premieres_notices, ['liste_codes' => $codes_facettes]);
$html .= '<div class="plus_de_notices"><a href="#" onclick="$(this).parent().slideUp().next().slideToggle();return false">'.$this->_translate->_('Afficher plus de notices...').'</a></div>';
$html .= '<div style="display:none">'.$helper->listeVignettes($notices, $codes_facettes).'</div>';
$html .= '<div style="display:none">'.$view->ListeNotices_Vignettes($notices, ['liste_codes' => $codes_facettes]).'</div>';
return $html;
}
......
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