diff --git a/library/ZendAfi/View/Helper/MoteurRecherche/Resultat/TimelineJsonVisitor.php b/library/ZendAfi/View/Helper/MoteurRecherche/Resultat/TimelineJsonVisitor.php index 279c547a361f6f6aef22864f29981faf7ef89f74..c1df14cae745e86cc941526c8093422490d94019 100644 --- a/library/ZendAfi/View/Helper/MoteurRecherche/Resultat/TimelineJsonVisitor.php +++ b/library/ZendAfi/View/Helper/MoteurRecherche/Resultat/TimelineJsonVisitor.php @@ -47,11 +47,11 @@ class ZendAfi_View_Helper_MoteurRecherche_Resultat_TimelineJsonVisitor extends Z public function visitNotice($notice) { - $url_notice = $this->view->urlNotice($notice); + $this->_url_notice = $this->view->urlNotice($notice); $this->_current_date = ['asset' => [], 'headline' => - '<div>'.$this->view->tagAnchor($url_notice, $notice->getTitrePrincipal()).'</div>'. + '<div>'.$this->view->tagAnchor($this->_url_notice, $notice->getTitrePrincipal()).'</div>'. '<div>'.$notice->getAuteurPrincipal().'</div>' ]; @@ -68,7 +68,7 @@ class ZendAfi_View_Helper_MoteurRecherche_Resultat_TimelineJsonVisitor extends Z public function visitResume($resume) { - $this->_current_date['text'] = $resume; + $this->_current_date['text'] = '<div>'.$this->view->tagAnchor($this->_url_notice, $this->_('[Voir la notice]')).'</div><p style="margin-top:5px">'.$resume.'</p>'; }