Fix groups dashboard inactive tab
What does this MR do and why?
Fix the groups json endpoint from failing when passing active=false and a sort parameter. This is caused by keyset's pagination inability to process a list properly if we don't select the sort column.
Instead of just selecting the id, we would now select everything to handle any sorting column available.
References
Related to #599130 (closed)
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Set the default page size in
config/initializers/kaminari_config.rbto1. Rungdk restart. - Ensure you have at least 2 group that is scheduled for deletion or archived.
- Go to http://localhost:3000/dashboard/groups/inactive.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #599130 (closed)
Edited by Shane Maglangit

