mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-20 15:31:12 +00:00
Render custom values of enumeration objects in API requests (#22795).
Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@15812 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
55be3ef172
commit
fa2f598150
@ -4,6 +4,7 @@ api.array @klass.name.underscore.pluralize do
|
|||||||
api.id enumeration.id
|
api.id enumeration.id
|
||||||
api.name enumeration.name
|
api.name enumeration.name
|
||||||
api.is_default enumeration.is_default
|
api.is_default enumeration.is_default
|
||||||
|
render_api_custom_values enumeration.visible_custom_field_values, api
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user