Skip to content

Commit

Permalink
Remove unneeded default sorting of project results
Browse files Browse the repository at this point in the history
This is already handled by column sorting in datatables.

Fixes #8328.
  • Loading branch information
eduardoj committed Dec 17, 2019
1 parent f8b0152 commit 70a3d54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/app/controllers/webui/project_controller.rb
Expand Up @@ -380,9 +380,9 @@ def project_for_datatable
when 'sibling project'
@project.siblingprojects
when 'subproject'
@project.subprojects.order(:name)
@project.subprojects
when 'parent project'
@project.ancestors.order(:name)
@project.ancestors
end
end

Expand Down

0 comments on commit 70a3d54

Please sign in to comment.