server
server copied to clipboard
Use default page size for jumping to desired offset
- Resolves: #38417
Summary
Instead of using the final limit as page size, use the default one, which may be higher.
For instance occ ldap:search --limit=2 --offset=100 "" will now do 2 requests instead of 50.
Checklist
- Code is properly formatted
- Sign-off message is added to all commits
- [x] Tests (unit, integration, api and/or acceptance) are included
- [x] Screenshots before/after for front-end changes
- [x] Documentation (manuals or wiki) has been updated or is not required
- [x] Backports requested where applicable (ex: critical bugfixes)