1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-03 23:53:23 +00:00

Fixed that Enumerations sorting is broken (#26564).

Patch by Sergey Gnuskov.

git-svn-id: http://svn.redmine.org/redmine/trunk@16918 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2017-07-30 16:30:32 +00:00
parent 6712ef52c2
commit 569cd8d620

View File

@ -105,6 +105,6 @@ class EnumerationsController < ApplicationController
def enumeration_params
# can't require enumeration on #new action
params.permit(:enumeration => [:name, :active, :is_default])[:enumeration]
params.permit(:enumeration => [:name, :active, :is_default, :position])[:enumeration]
end
end