Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add user list sorting #45500

Closed
wants to merge 1 commit into from
Closed

feat: Add user list sorting #45500

wants to merge 1 commit into from

Conversation

Pytal
Copy link
Member

@Pytal Pytal commented May 24, 2024

Summary

Checklist

Signed-off-by: Christopher Ng <chrng8@gmail.com>
@Pytal Pytal added this to the Nextcloud 30 milestone May 24, 2024
@Pytal Pytal self-assigned this May 24, 2024
@@ -225,6 +225,9 @@
? \OC\Group\MetaData::SORT_GROUPNAME
: (int)$this->config->getAppValue('core', 'group.sortBy', (string)\OC\Group\MetaData::SORT_USERCOUNT);
$serverData['forceSortGroupByName'] = $forceSortGroupByName;
// TODO refactor to IAppConfig
$serverData['sortMode'] = $this->config->getAppValue('core', 'user.sortMode', 'userId');

Check notice

Code scanning / Psalm

DeprecatedMethod Note

The method OCP\IConfig::getAppValue has been marked as deprecated
@@ -225,6 +225,9 @@
? \OC\Group\MetaData::SORT_GROUPNAME
: (int)$this->config->getAppValue('core', 'group.sortBy', (string)\OC\Group\MetaData::SORT_USERCOUNT);
$serverData['forceSortGroupByName'] = $forceSortGroupByName;
// TODO refactor to IAppConfig
$serverData['sortMode'] = $this->config->getAppValue('core', 'user.sortMode', 'userId');
$serverData['sortOrder'] = $this->config->getAppValue('core', 'user.sortOrder', 'asc');

Check notice

Code scanning / Psalm

DeprecatedMethod Note

The method OCP\IConfig::getAppValue has been marked as deprecated
@Pytal Pytal closed this Jun 7, 2024
@Pytal Pytal deleted the feat/sort-users branch June 7, 2024 18:29
@skjnldsv skjnldsv removed this from the Nextcloud 30 milestone Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants