mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-25 01:27:29 +01:00
* [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:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user