SearchDashboard: Utilize createDashlet() and set a progress label

refs #8848
This commit is contained in:
Johannes Meyer 2015-08-24 12:36:59 +02:00
parent 320a4080ec
commit 7c86f19aee
1 changed files with 2 additions and 2 deletions

View File

@ -69,10 +69,10 @@ class SearchDashboard extends Dashboard
usort($searchUrls, array($this, 'compareSearchUrls'));
foreach (array_reverse($searchUrls) as $searchUrl) {
$pane->addDashlet(
$pane->createDashlet(
$searchUrl->title . ': ' . $searchString,
Url::fromPath($searchUrl->url, array('q' => $searchString))
);
)->setProgressLabel($this->view()->translate('Searching'));
}
return $this;