custom_fields.json only returns single tracker instead of array of trackers
|Assignee:||Jean-Philippe Lang||% Done:|
In my Redmine 2.3.4 installation, the custom_fields.json API returns only a single tracker, even when a custom field has been assigned to multiple trackers.
I managed to patch my Redmine installation to correctly return the full list of trackers for a custom field. In app/views/custom_fields/index.api.rsb, the following line:
Should be changed to
api.array :trackers do
I think the same is true for the roles by the way, but since I'm not using that functionality I didn't bother to patch it.