diff --git a/library/ZendAfi/View/Helper/ComboProfils.php b/library/ZendAfi/View/Helper/ComboProfils.php
index be72be97769c32b3d31b56d7564b474250757094..9c0799b772c15b5720a3c7245eac0cc6f3586967 100644
--- a/library/ZendAfi/View/Helper/ComboProfils.php
+++ b/library/ZendAfi/View/Helper/ComboProfils.php
@@ -89,9 +89,7 @@ class ZendAfi_View_Helper_ComboProfils extends ZendAfi_View_Helper_BaseHelper {
 
 
   protected function getProfilUrl() {
-    return  rtrim(Class_Url::absolute(['module' => 'opac',
-                                       'controller' => 'index',
-                                       'action' => 'index'], null, true), '/') . '/?id_profil=';
+    return  rtrim($this->view->url(['id_profil' => null], null, true), '/') . '/?id_profil=';
   }
 
 
diff --git a/tests/application/modules/opac/controllers/IndexControllerTest.php b/tests/application/modules/opac/controllers/IndexControllerTest.php
index c1a1e2ec5cfd8cd7527918628341bf6781c34933..625762d9b68564a417712e3973e7fd9bf05c4986 100644
--- a/tests/application/modules/opac/controllers/IndexControllerTest.php
+++ b/tests/application/modules/opac/controllers/IndexControllerTest.php
@@ -124,9 +124,7 @@ class IndexControllerAsAdminWithCssEditorAndNoHeaderCss extends IndexControllerA
 
   /** @test */
   public function comboProfilOnChangeShouldContainsBaseUrl() {
-    $this->assertXPath('//div[@class="footer"]//select[@id="select_clef_profil"][contains(@onchange, "' . Class_Url::absolute(['module' => 'opac',
-                                                                                                                               'controller' => 'index',
-                                                                                                                               'action' => 'index']) . '?id_profil=")]', $this->_response->getBody());
+    $this->assertXPath('//div[@class="footer"]//select[@id="select_clef_profil"][@onchange="window.location=\'/?id_profil=\' + this.value"]');
   }