Persisting sort value on dashboard groups page

What does this MR do and why?

Add groups_sort key for persisting sort value on dashboard groups page. Currently it's always set to Updated at

Since the changes are small enough and frontend defaults to Updated at sort value already, I've created a single MR for both backend and frontend changes. I can get it separated if necessary 👍

References

#584807 (closed)

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Checkout this branch and run migrations bin/rails db:migrate and run gdk locally
  2. Go to groups page from http://gdk.local/dashboard/groups
  3. Try updating the sort value
  4. Go to other page and come back to groups page again
  5. Notice the sort value is persistent now
  6. Compare to master branch where it's always set to Updated at
Edited by Rinku C

Merge request reports

Loading