SearchDashboard: Utilize createDashlet() and set a progress label
refs #8848
This commit is contained in:
parent
320a4080ec
commit
7c86f19aee
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue