Commit 7859a92f authored by jplang's avatar jplang

Fixed that Enumerations sorting is broken (#26564).

Patch by Sergey Gnuskov.

git-svn-id: https://svn.redmine.org/redmine/trunk@16918 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent d74741fc
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment