Skip to content

Commit

Permalink
Merge pull request #6 from MatthiasPetermann/master
Browse files Browse the repository at this point in the history
Sort top level projects by their name
  • Loading branch information
UweHeber committed May 27, 2019
2 parents bd1f2ca + fbab1c3 commit be86699
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/project_tree/patches/projects_helper_patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ def find_toplevel_projects
#{Project.table_name} p
where
p.parent_id is null
and p.status = 1")
and p.status = 1
order by p.name")

# load project as object and store it to the result
result = []
Expand Down

0 comments on commit be86699

Please sign in to comment.