Bug 46910 - Set default value of "_isAdvancedSearch" via UCR
Set default value of "_isAdvancedSearch" via UCR
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Domain management (Generic)
UCS 4.3
Other Linux
: P5 enhancement (vote)
: UCS 4.3-0-errata
Assigned To: Johannes Keiser
Dirk Wiesenthal
:
Depends on: 28068
Blocks:
  Show dependency treegraph
 
Reported: 2018-04-27 17:07 CEST by Sönke Schwardt-Krummrich
Modified: 2018-06-06 16:16 CEST (History)
5 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support: Yes
Ticket number: 2012052121002067, 2018042721000969
Bug group (optional): Usability
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2018-04-27 17:07:17 CEST
The default of _isAdvancedSearch in
/usr/share/univention-management-console-frontend/js/umc/modules/udm.js
is always "false". 
A school customer with quite a large user base asked again if it would be possible to activate the advanced search by default.

A manual test (modifying udm.js and setting defautl to "true") showed no problems with UDM modules. All advanced searches were shown and it was possible to turn the advanced search off interactively.

+++ This bug was initially created as a clone of Bug #28068 +++

Der Defaultwert für "Erweiterte Optionen" im Dialog zum Suchen nach UDM-Objekten (Grid) sollte per UCR-Variable vordefinierbar sein.
In einer UCS@school-Kundenumgebung mit vielen OUs sollen Benutzer häufiger gezielt unterhalb einer OU gesucht werden, weshalb per Default die erweiterten Optionen aktiviert sein sollen (derzeit sind sie immer deaktiviert).

Aufgetreten im Rahmen von Ticket#: 2012052121002067
Comment 1 Johannes Keiser univentionstaff 2018-05-30 11:52:58 CEST
22b68a8 Bug #46910: Add UCR variable for setting simple/advanced search on module open
60444da Bug #46910: Debian changelog entry
1fed8b4 Bug #46910: YAML - add entry
9b857fe Bug #46910: YAML - update version

Package: univention-directory-manager-modules
Version: 13.0.21-26A~4.3.0.201805301140

Package: univention-management-console-module-udm
Version: 8.0.5-11A~4.3.0.201805301145
Comment 2 Dirk Wiesenthal univentionstaff 2018-05-31 06:13:54 CEST
Works.
REOPEN: Description of
directory/manager/web/modules/search/advanced_on_open[en]: You use "directory/manager/web/modules/users/search/advanced_on_open=true" as an example, but is needs to be "users/user"

directory/manager/web/modules/.*/.*/search/advanced_on_open[en]: Same, and there is a blank in the example UCR key.
Comment 3 Johannes Keiser univentionstaff 2018-05-31 11:52:01 CEST
(In reply to Dirk Wiesenthal from comment #2)
> Works.
> REOPEN: Description of
> directory/manager/web/modules/search/advanced_on_open[en]: You use
> "directory/manager/web/modules/users/search/advanced_on_open=true" as an
> example, but is needs to be "users/user"
> 
> directory/manager/web/modules/.*/.*/search/advanced_on_open[en]: Same, and
> there is a blank in the example UCR key.

7e3d831 Bug #46910: Fix typos
da24c55 Bug #46910: Debian changelog
c1192b5 Bug #46910: YAML - update version

Package: univention-directory-manager-modules
Version: 13.0.21-27A~4.3.0.201805311147
Comment 4 Dirk Wiesenthal univentionstaff 2018-05-31 13:01:26 CEST
OK