Content
View differences
Updated by Ivan Kuchin almost 2 years ago
`CustomField::OrderStatements` handles multi-value custom fields for formats `string`, `text`, `bool`, `link` and `date`. UI doesn't allow setting multi value for those formats, also there doesn't seem to be any restriction in controller or model. Also `CustomField#multi_value_possible?` lists only `version`, `user` and `list` as possible for multi-value. It also doesn't make sense to be able to order by text (long text) custom fields.
Should `CustomField` validate multi value field and should we remove handling of multi value from order statements?
Should `CustomField` validate multi value field and should we remove handling of multi value from order statements?