Commit 617bb109 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Revert "Sort starred projects on dashboard based on last activity by default"

This reverts commit 70d64552.
parent 70d64552
......@@ -11,7 +11,6 @@ v 8.6.0 (unreleased)
- Update documentation to reflect Guest role not being enforced on internal projects
- Allow search for logged out users
- Don't show Issues/MRs from archived projects in Groups view
- Sort starred projects on dashboard based on last activity by default
v 8.5.2
- Fix sidebar overlapping content when screen width was below 1200px
......
......@@ -31,7 +31,7 @@ class Dashboard::ProjectsController < Dashboard::ApplicationController
end
def starred
@projects = current_user.starred_projects.sorted_by_activity
@projects = current_user.starred_projects
@projects = @projects.includes(:namespace, :forked_from_project, :tags)
@projects = @projects.sort(@sort = params[:sort])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment