When navigating to your projects, projects are sorted by Last Created when the sort by field shows Last Updated

Summary

When navigating to Your Projects (https://gitlab.example.com/dashboard/projects), the projects are sorted by Last Created when the Sort by field shows Last Updated. Clicking on Last Updated in the Sort by filed will sort the project correctly.

Steps to reproduce

  1. Navigate to Your Projects (https://gitlab.example.com/dashboard/projects)
  2. See the projects are sorted by Last Created
  3. Sort by field show Last Updated

Example Project

Not able to reproduce on GitLab.com

What is the current bug behavior?

Your projects are sorted by Last Created when the Sort by field show Last Updated

What is the expected correct behavior?

Sort by label should show how the projects are actually sorted. In this case:

  1. The Sort by field should show Last Created
  2. The projects should be sorted by Last Updated

Relevant logs and/or screenshots

last-created

Customer ticket: https://gitlab.zendesk.com/agent/tickets/126213 (internal use)

I was able to reproduce this on Omnibus GitLab 12.0.2. Customer states that the sorting was correct prior to 12.x.

Clearing the Redis cache did not resolve the issue.