Skip to content
Snippets Groups Projects
Commit 1f933a2b authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Adv search breadcrumbs fix.

parent 1e60d23a
No related merge requests found
...@@ -6,8 +6,14 @@ ...@@ -6,8 +6,14 @@
$this->layout()->searchbox = false; $this->layout()->searchbox = false;
// Set up breadcrumbs: // Set up breadcrumbs:
$this->layout()->breadcrumbs = '<li>' . $this->getLastSearchLink($this->transEsc('Search'), '', '</li> ') $this->layout()->breadcrumbs = '<li>';
. '<li class="active">' . $this->transEsc('Advanced') . '</li>'; $lastSearchLink = $this->getLastSearchLink($this->transEsc('Search'));
if (!empty($lastSearchLink)) {
$this->layout()->breadcrumbs .= $lastSearchLink;
} else {
$this->transEsc('Search');
}
$this->layout()->breadcrumbs .= '</li> <li class="active">' . $this->transEsc('Advanced') . '</li>';
// Set up saved search details: // Set up saved search details:
if (isset($this->saved) && is_object($this->saved)) { if (isset($this->saved) && is_object($this->saved)) {
......
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