Skip to content
Snippets Groups Projects
Commit 5af30348 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

rel #12091 : fix search results for domains

parent b8f64cfb
Branches
Tags
2 merge requests!258Dev/13872 Orphee Allow Hold Available Items,!4dev#12091 Moulins portail jeunesse
......@@ -94,7 +94,8 @@ class RechercheController extends ZendAfi_Controller_Action {
if ($this->view->statut == "guidee")
$criteres_recherche->updateRubrique('guidee');
$this->view->breadcrumb = ($breadcrumb=$this->_getParam('parents')) ? $breadcrumb : null;
$this->view->current_domain = $criteres_recherche->getCatalogue();
$this->view->breadcrumb = $this->_getParam('parents');
$this->showCSVSearchResults($criteres_recherche);
$this->renderResultatRecherche($criteres_recherche);
......
......@@ -28,7 +28,7 @@ if ($this->is_pertinence) {
echo $this->tagCriteresRecherche($this->criteres_recherche);
}
if ($this->breadcrumb)
if ($this->current_domain)
echo $this->getHelper('RenderDomainBrowser')
->displayDomains($this->current_domain, $this->breadcrumb);
......
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