* [FIX] Fixed search grid behavior

This commit is contained in:
nuxsmin
2018-03-03 11:08:21 +01:00
parent 68b7b0ab31
commit 7ec589a6fe
20 changed files with 273 additions and 512 deletions

View File

@@ -72,15 +72,17 @@ class NotificationController extends ControllerBase implements CrudControllerInt
}
/**
* getSearchGrid
*
* @return $this
* @throws \SP\Core\Dic\ContainerException
*/
protected function getSearchGrid()
{
$itemsGridHelper = $this->dic->get(ItemsGridHelper::class);
$itemSearchData = $this->getSearchData($this->configData);
$itemSearchData = $this->getSearchData($this->configData->getAccountCount());
return $itemsGridHelper->updatePager($itemsGridHelper->getNoticesGrid($this->notificationService->search($itemSearchData)), $itemSearchData);
return $itemsGridHelper->updatePager($itemsGridHelper->getNotificationsGrid($this->notificationService->search($itemSearchData)), $itemSearchData);
}
/**