g3w-admin icon indicating copy to clipboard operation
g3w-admin copied to clipboard

Paginate `Users` list

Open wlorenzetti opened this issue 2 years ago • 0 comments

Checklist

  • [X] I've searched through the current issues to make sure this feature hasn't been requested already.

Motivation

In case in an instance there are many users (for example a few hundreds) in the current state G3W-ADMIN fetches the entire list of users and then deletes Datatable in the pagination. This solution is good for cases where there is a limited number of users, but in the case of a large number it would be more appropriate to have a client-server paging system.

Suggested solution

Replace the classic user list system based on total user upload to a REST API based system for Datatable, where the user data list is retrieved via Ajax calls.

https://datatables.net/reference/option/ajax.data

Alternatives considered

No response

wlorenzetti avatar Dec 05 '22 12:12 wlorenzetti