Skip to content

Commit

Permalink
Merge pull request #7815 from pkiraly/7814-sorting-users-in-the-dashb…
Browse files Browse the repository at this point in the history
…oard

7814: sorting users in the dashboard
  • Loading branch information
kcondon authored May 4, 2021
2 parents ec20ef6 + 69f4a0e commit 343f70e
Show file tree
Hide file tree
Showing 7 changed files with 282 additions and 244 deletions.
3 changes: 3 additions & 0 deletions doc/release-notes/7814-sorting-users-in-the-dashboard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The following sentence might be added to the release notes:

The site administrators can sort the user list in the Dashboard > Manage users page.
2 changes: 1 addition & 1 deletion doc/sphinx-guides/source/api/native-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2984,7 +2984,7 @@ List users with the options to search and "page" through results. Only accessibl
* ``searchTerm`` A string that matches the beginning of a user identifier, first name, last name or email address.
* ``itemsPerPage`` The number of detailed results to return. The default is 25. This number has no limit. e.g. You could set it to 1000 to return 1,000 results
* ``selectedPage`` The page of results to return. The default is 1.
* ``sortKey`` A string that represents a field that is used for sorting the results. Possible values are "id", "useridentifier" (username), "lastname" (last name), "firstname" (first name), "email" (email address), "affiliation" (affiliation), "superuser" (flag that denotes if the user is an administrator of the site), "position", "createdtime" (created time), "lastlogintime" (last login time), "lastapiusetime" (last API use time). The default is "useridentifier".
* ``sortKey`` A string that represents a field that is used for sorting the results. Possible values are "id", "useridentifier" (username), "lastname" (last name), "firstname" (first name), "email" (email address), "affiliation" (affiliation), "superuser" (flag that denotes if the user is an administrator of the site), "position", "createdtime" (created time), "lastlogintime" (last login time), "lastapiusetime" (last API use time), "authproviderid" (the authentication provider ID). To sort in reverse order you can add " desc" e.g. "id desc". The default value is "useridentifier".
.. code-block:: bash
Expand Down
Loading

0 comments on commit 343f70e

Please sign in to comment.