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:
parent
6712ef52c2
commit
569cd8d620
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user