-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
verifiedAll test cases were verified successfullyAll test cases were verified successfully
Milestone
Description
When there are more than 10 users/groups and the items per page is set to 10 and you're not on page 1, the search doesn't work.
Steps to reproduce
- Create a user domain, no matter if samba or openldap
- Create at least 11 users/groups
Adapt samba1 to openldap1 if openldap was used.
Create 11 users:
for i in {1..11}
do
api-cli run module/samba1/add-user --data - <<EOF
{
"user": "username$i",
"display_name": "Username $i",
"password": "`tr -dc 'A-Za-z0-9' </dev/urandom | head -c 13; echo '!'`",
"locked": false
}
EOF
done
Create 11 groups:
for i in {1..11}
do
api-cli run module/samba1/add-group --data - <<EOF
{
"group": "groupname$i",
"users": []
}
EOF
done
- On the users/group page go to page 2 and search for a user/group
Expected behavior
The searched user/group is shown
Actual behavior
The searched user/group isn't shown
Components
Core 3.10.0
See also
https://community.nethserver.org/t/search-in-the-group-list-does-not-work-properly/26279
Thanks to Yummiweb
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
verifiedAll test cases were verified successfullyAll test cases were verified successfully
Type
Projects
Status
Done