Skip to content
Snippets Groups Projects
Commit 294dc48b authored by gloas's avatar gloas
Browse files

hotline #12675 UrlNotice ArrayFilter on url params

parent 74a30da4
Branches
Tags
2 merge requests!258Dev/13872 Orphee Allow Hold Available Items,!13Hotline#12675 Biblio Items Params Bug
......@@ -77,7 +77,7 @@ class ZendAfi_View_Helper_UrlNotice extends Zend_View_Helper_HtmlElement {
'tri' => '']));
}
return $this->view->url($options,null,true);
return $this->view->url(array_filter($options),null,true);
}
......
......@@ -287,7 +287,7 @@ class RechercheControllerViewNoticeWithPreferencesTest extends RechercheControll
public function trackEventShouldContainsNoticeTitreAuteur() {
$this->assertEquals(['recherche',
'notice',
'"titre: Cinéma d\'animation","auteur: Bernard Génin","editeur: Gallimard","tome: ","support: livres","ressource: http://localhost'.BASE_URL.'/recherche/viewnotice/id/345/clef/"',
'"titre: Cinéma d\'animation","auteur: Bernard Génin","editeur: Gallimard","tome: ","support: livres","ressource: http://localhost'.BASE_URL.'/recherche/viewnotice/id/345"',
345],
$this->_web_analytics_client->getAttributesForLastCallOn('trackEvent'));
}
......
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