* [ADD] New preferences option to always display the account search filters

* [MOD] Updated translations
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
nuxsmin
2018-11-03 13:41:46 +01:00
parent cab766c78f
commit c4ba84e206
17 changed files with 474 additions and 384 deletions

View File

@@ -64,6 +64,7 @@ final class UserSettingsGeneralController extends SimpleControllerBase
$userPreferencesData->setOptionalActions($this->request->analyzeBool('optional_actions', false));
$userPreferencesData->setResultsAsCards($this->request->analyzeBool('resultsascards', false));
$userPreferencesData->setCheckNotifications($this->request->analyzeBool('check_notifications', false));
$userPreferencesData->setShowAccountSearchFilters($this->request->analyzeBool('show_account_search_filters', false));
$this->userService->updatePreferencesById($userData->getId(), $userPreferencesData);