Sorting projects - Persist last choice
What does this MR do?
EE port: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/15105
This MR:
- Adds new
projects_sort
column touser_preferences
table - Saves project sort preference to backend
- Renames
issuable_sorting_field
tosorting_field
as it is now used in projects - Extracts sorting preference logic from
IssuableCollections
to a newSortingPreference
concern so that it can be reused to projects (and groups in the future https://gitlab.com/gitlab-org/gitlab-ce/issues/50803)
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry for user-facing changes, or community contribution. Check the link for other scenarios. -
Documentation created/updated or follow-up review issue created -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Performance and testing
N/A
Security
N/A
Edited by 🤖 GitLab Bot 🤖