Add sorting/filtering/paging to CRM organizations
What does this MR do and why?
This MR is almost identical to the CRM contacts list revamp just merged over in !95408 (merged)
This MR adds searching, paging and moves sorting from client-side to server-side for the CRM organization list.
The backend changes have just been merged, but because the feature is minimally used at present, we shouldn't need to wait for the next release to drop the frontend changes.
Screenshots or screen recordings
How to set up and validate locally
You'll need a group with CRM enabled and some organizations (ideally active and inactive)- see docs. If you've recently reseeded your GDK you should already have some.
Otherwise, you should be able to do something like this from rails:
FactoryBot.create_list(:organization, 220, group: Group.find(31), state: 'inactive')
Visit the group organization list and try searching, sorting and filter (switching tabs).
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #2256