Use the same sorting everywhere

This commit is contained in:
Maximilian Grundke
2017-07-12 21:46:39 +02:00
parent 0fabed4c1e
commit 7ba245920c
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ h3
th = t('activerecord.attributes.error_template_attribute.regex')
th colspan=3 = t('shared.actions')
tbody
- @error_template.error_template_attributes.order(:important).each do |attribute|
- @error_template.error_template_attributes.order('important DESC', :key).each do |attribute|
tr
td
- if attribute.important