Skip to content

Commit fbab1c3

Browse files
author
Matthias Petermann
committed
Sort top level project names by name
1 parent bd1f2ca commit fbab1c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/project_tree/patches/projects_helper_patch.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ def find_toplevel_projects
3333
#{Project.table_name} p
3434
where
3535
p.parent_id is null
36-
and p.status = 1")
36+
and p.status = 1
37+
order by p.name")
3738

3839
# load project as object and store it to the result
3940
result = []

0 commit comments

Comments
 (0)