diff options
author | Diego Souza <diegosouza.br@gmail.com> | 2016-09-08 22:01:49 -0300 |
---|---|---|
committer | Diego Souza <diegosouza.br@gmail.com> | 2016-09-09 15:06:50 -0300 |
commit | 43d2cd511c3e068f78fb71387ae0ac31db4926b1 (patch) | |
tree | e0d86ec12536dfc53ee3d24b1dbcaa0144f9968c /app/views/projects/variables | |
parent | 796bdf1dcb86b5e77fc054208afc632f75518605 (diff) | |
download | gitlab-ce-43d2cd511c3e068f78fb71387ae0ac31db4926b1.tar.gz |
Sort secret variables by key (fix #20870)
Diffstat (limited to 'app/views/projects/variables')
-rw-r--r-- | app/views/projects/variables/_table.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/variables/_table.html.haml b/app/views/projects/variables/_table.html.haml index 6c43f822db4..07cee86ba4c 100644 --- a/app/views/projects/variables/_table.html.haml +++ b/app/views/projects/variables/_table.html.haml @@ -9,7 +9,7 @@ %th Value %th %tbody - - @project.variables.each do |variable| + - @project.variables.order_key_asc.each do |variable| - if variable.id? %tr %td= variable.key |