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

hotline #37996 fix url

parent fb348661
Branches
Tags
10 merge requests!1587Master,!1553Master,!1519Master,!1505Stable,!1502Master,!1501Stable,!1500Master,!1499Hotline master,!1498Stable,!1497Hotline#37996 premier chapitre fix urls
......@@ -39,7 +39,9 @@ class ZendAfi_View_Helper_PremierChapitre_Lien
protected function _getHref($model, $preferences) {
if ($this->_isLinkToRecord($preferences))
return '/premier-chapitre/notice/ean/' . $model->getId();
return $this->view->url(['controller' => 'premier-chapitre',
'action' => 'notice',
'ean' => $model->getId()], null, true);
return ($this->_isLinkToTarget($preferences))
? '#pc_ancre' : $model->getUrl();
......
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