summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-05-08 08:44:53 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-05-08 08:44:53 +0000
commit60bb7565dd8460137974bdaa0e25c97907ea6ee7 (patch)
tree2633c92273870f225a070ad88cd1d17a91cc1a62 /app/views
parentb5bc96a90f0746a9fff884074cb7d05256d9d698 (diff)
downloadredmine-60bb7565dd8460137974bdaa0e25c97907ea6ee7.tar.gz
redmine-60bb7565dd8460137974bdaa0e25c97907ea6ee7.zip
Include value and label of possible values in custom fields API (#22745).
git-svn-id: http://svn.redmine.org/redmine/trunk@15401 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/custom_fields/index.api.rsb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/custom_fields/index.api.rsb b/app/views/custom_fields/index.api.rsb
index 77c9cf3b3..8233ed140 100644
--- a/app/views/custom_fields/index.api.rsb
+++ b/app/views/custom_fields/index.api.rsb
@@ -21,6 +21,7 @@ api.array :custom_fields do
values.each do |label, value|
api.possible_value do
api.value value || label
+ api.label label
end
end
end