Fixed sort of attribute.options.
This commit is contained in:
parent
de9a2a6f2a
commit
64ee0d476f
1 changed files with 2 additions and 3 deletions
|
@ -1099,10 +1099,9 @@ class App.ControllerForm extends App.Controller
|
|||
attribute.options.push row
|
||||
else
|
||||
order = _.sortBy(
|
||||
_.keys( selection, (item) ->
|
||||
_.keys(selection), (item) ->
|
||||
selection[item].toString().toLowerCase()
|
||||
)
|
||||
).reverse()
|
||||
)
|
||||
for key in order
|
||||
name_new = selection[key]
|
||||
if attribute.translate
|
||||
|
|
Loading…
Reference in a new issue