]> source.dussan.org Git - nextcloud-server.git/commit
fix(settings): Sort all settings - incl declarative settings - by priority fix/declarative-settings-priority 48424/head
authorFerdinand Thiessen <opensource@fthiessen.de>
Fri, 27 Sep 2024 19:40:30 +0000 (21:40 +0200)
committerFerdinand Thiessen <opensource@fthiessen.de>
Sat, 28 Sep 2024 12:08:26 +0000 (14:08 +0200)
commitb5256181a49813063a8e6490316f7eed3a4341d5
tree126cdfb6bcc95fde2c1e6fe730323add68d56143
parentc470ef0fd7130eb9ab282cbc294ef03059599d80
fix(settings): Sort all settings - incl declarative settings - by priority

Previously declarative settings were sorted by priority but behind the "native" settings,
this is now fixed, meaning a declarative setting with higher priority than an `ISetting` will
be correctly rendered before that `ISetting` in the settings list.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
apps/settings/lib/Controller/AdminSettingsController.php
apps/settings/lib/Controller/CommonSettingsTrait.php
apps/settings/lib/Controller/PersonalSettingsController.php
apps/settings/tests/Controller/AdminSettingsControllerTest.php
lib/public/Settings/IManager.php