diff --git a/application/modules/opac/views/scripts/blog/hierarchical.phtml b/application/modules/opac/views/scripts/blog/hierarchical.phtml index f1a626db4506b1143d77078d6235a675aeaa0955..03218bf2740766cbcb33ea2d3b67afce88ee6aa6 100644 --- a/application/modules/opac/views/scripts/blog/hierarchical.phtml +++ b/application/modules/opac/views/scripts/blog/hierarchical.phtml @@ -1,5 +1,9 @@ <?php echo $this->publicListViewMode( $this->list, - function($item) { return $this->avis($item); } + function($item) { + return $this->getHelper('avis') + ->addUrlContext([$this->list->getStartKey() => null]) + ->avis($item); + } );?> diff --git a/library/ZendAfi/View/Helper/Avis.php b/library/ZendAfi/View/Helper/Avis.php index 17f6c383178524d35b717de24ff754fefee728e6..d02c2b3e0f9bd1810ad402b8c9dd4d259dec05ea 100644 --- a/library/ZendAfi/View/Helper/Avis.php +++ b/library/ZendAfi/View/Helper/Avis.php @@ -192,7 +192,7 @@ class ZendAfi_View_Helper_Avis extends ZendAfi_View_Helper_BaseHelper { /** @params parts array*/ public function _url($parts) { - return $this->view->url(array_merge($parts, $this->_url_context), null, true); + return $this->view->url(array_merge($parts, $this->_url_context)); }