mirror of
https://github.com/redmine/redmine.git
synced 2026-02-21 14:07:52 +01: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user