From 62423f28f746a0bc287097fcb5241b29359692e8 Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Thu, 23 Mar 2017 16:00:47 +0800 Subject: [PATCH] Fix project tag order because we assume so in test See https://gitlab.com/gitlab-org/gitlab-ce/builds/12778220 found in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10156 --- app/views/projects/edit.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml index 2802a4eca7b..82e0d0025ec 100644 --- a/app/views/projects/edit.html.haml +++ b/app/views/projects/edit.html.haml @@ -31,7 +31,7 @@ = f.select(:default_branch, @project.repository.branch_names, {}, {class: 'select2 select-wide'}) .form-group = f.label :tag_list, "Tags", class: 'label-light' - = f.text_field :tag_list, value: @project.tag_list.to_s, maxlength: 2000, class: "form-control" + = f.text_field :tag_list, value: @project.tag_list.sort.join(', '), maxlength: 2000, class: "form-control" %p.help-block Separate tags with commas. %hr %fieldset