Commit 3a9c96fc273085518fc89890c3e217754a50fde6

Authored by Brad Shuttleworth
1 parent d4a4cb44

fix for KTS-453: Saved Searches have wrong breadcrumbs.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5931 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 3 additions and 2 deletions
search/booleanSearch.php
@@ -232,10 +232,11 @@ class BooleanSearchDispatcher extends KTStandardDispatcher { @@ -232,10 +232,11 @@ class BooleanSearchDispatcher extends KTStandardDispatcher {
232 $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _kt('Advanced Search')); 232 $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _kt('Advanced Search'));
233 $sTitle = _kt('Search Results'); 233 $sTitle = _kt('Search Results');
234 } else { 234 } else {
235 - $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _kt('Saved Search')); 235 + $this->aBreadcrumbs[] = array('name' => _kt('Saved Search'));
236 $this->oPage->setTitle(_kt('Saved Search: ') . $sTitle); 236 $this->oPage->setTitle(_kt('Saved Search: ') . $sTitle);
  237 + $this->oPage->setBreadcrumbDetails($sTitle);
237 } 238 }
238 - $this->oPage->setBreadcrumbDetails($sTitle); 239 +
239 240
240 241
241 $this->browseType = "Folder"; 242 $this->browseType = "Folder";