Skip to content

Commit

Permalink
Merge pull request #3971 from bgeuken/image_sorting
Browse files Browse the repository at this point in the history
[frontend] Sort local and remote image templates
  • Loading branch information
ChrisBr committed Oct 10, 2017
2 parents e2869ce + 89d7fc5 commit e9d9064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/models/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def self.restore(project_name, backend_opts = {})
end

def self.image_templates
Project.local_image_templates + remote_image_templates
(local_image_templates + remote_image_templates).sort_by(&:name)
end

def self.remote_image_templates
Expand Down

0 comments on commit e9d9064

Please sign in to comment.