Vote #78695
完了Enumerations sorting does not work
0%
説明
When drag/drop enumerations, it makes successful request to server, but position does not change after page reload. The problem is that @position@ attribute is not added to permitted params in enumerations controller, so it's skipped.
journals
The patch is something like this: attachment:patch.diff.
--------------------------------------------------------------------------------
Confirmed the problem. Setting target version to 3.4.3.
--------------------------------------------------------------------------------
This is test.
--------------------------------------------------------------------------------
Simplified.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Fix and test committed, thanks.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,Closed,28925,Custom field values for enumerations not saved