Revert "Revert "Sort starred projects on dashboard based on last activity by default""
This reverts commit 617bb1096d
.
This commit is contained in:
parent
617bb1096d
commit
afe9a07a9e
2 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@ v 8.6.0 (unreleased)
|
||||||
- Update documentation to reflect Guest role not being enforced on internal projects
|
- Update documentation to reflect Guest role not being enforced on internal projects
|
||||||
- Allow search for logged out users
|
- Allow search for logged out users
|
||||||
- Don't show Issues/MRs from archived projects in Groups view
|
- 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
|
v 8.5.2
|
||||||
- Fix sidebar overlapping content when screen width was below 1200px
|
- Fix sidebar overlapping content when screen width was below 1200px
|
||||||
|
|
|
@ -31,7 +31,7 @@ class Dashboard::ProjectsController < Dashboard::ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def starred
|
def starred
|
||||||
@projects = current_user.starred_projects
|
@projects = current_user.starred_projects.sorted_by_activity
|
||||||
@projects = @projects.includes(:namespace, :forked_from_project, :tags)
|
@projects = @projects.includes(:namespace, :forked_from_project, :tags)
|
||||||
@projects = @projects.sort(@sort = params[:sort])
|
@projects = @projects.sort(@sort = params[:sort])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue