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

dev #33757 fix url issu in chrome

parent 3382c35c
Branches
Tags
5 merge requests!1553Master,!1502Master,!1501Stable,!1325Dev#33757 gestion des preferences de l utilisateur,!1321Dev#33757 gestion des preferences de l utilisateur
......@@ -57,10 +57,10 @@ class ZendAfi_View_Helper_Bookmarks extends ZendAfi_View_Helper_BaseHelper {
'class' => 'bookmarks_edit',
'render' => 'popup']);
$url_base = $this->view->url(array_merge($this->_criteres->getUrlRetourListe(),
['controller' => 'recherche',
'action' => 'simple',
'page' => null]), null, true);
$url_base = array_merge($this->_criteres->getUrlRetourListe(),
['controller' => 'recherche',
'action' => 'simple',
'page' => null]);
$links = array_map(
function ($bookmark) use ($url_base){
......@@ -68,9 +68,9 @@ class ZendAfi_View_Helper_Bookmarks extends ZendAfi_View_Helper_BaseHelper {
$this->_tag('li',
$this->_tag('a',
$bookmark['label'],
['href' => $url_base . '/facette/'.$bookmark['id']]),
['class' => 'facette']);
['href' => $this->view->url(array_merge($url_base,
['facette' => $bookmark['id']]), null, true)],
['class' => 'facette']));
},
$this->_bookmarks);
......
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