* [FIX] Pager was not displayed on auth tokens list

* [ADD] Added special filters for account searching on management tab
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
nuxsmin
2018-10-11 01:04:35 +02:00
parent 3dfe81b2eb
commit 33ae422b2f
74 changed files with 1551 additions and 1272 deletions

View File

@@ -56,6 +56,9 @@ final class AuthTokenController extends ControllerBase implements CrudController
/**
* Search action
*
* @return bool
* @throws \DI\DependencyException
* @throws \DI\NotFoundException
* @throws \SP\Core\Exceptions\ConstraintException
* @throws \SP\Core\Exceptions\QueryException
*/
@@ -76,6 +79,8 @@ final class AuthTokenController extends ControllerBase implements CrudController
* getSearchGrid
*
* @return $this
* @throws \DI\DependencyException
* @throws \DI\NotFoundException
* @throws \SP\Core\Exceptions\ConstraintException
* @throws \SP\Core\Exceptions\QueryException
*/
@@ -85,7 +90,10 @@ final class AuthTokenController extends ControllerBase implements CrudController
$authTokenGrid = $this->dic->get(AuthTokenGrid::class);
return $authTokenGrid->updatePager($authTokenGrid->getGrid($this->authTokenService->search($itemSearchData)), $itemSearchData);
return $authTokenGrid->updatePager(
$authTokenGrid->getGrid($this->authTokenService->search($itemSearchData)),
$itemSearchData
);
}
/**