Project

General

Profile

Actions

Feature #31559

closed

Support "active" attribute in Enumerations REST API

Added by Michel Albert almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
REST API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Expected behaviour

When doing a HTTP request to /enumerations/time_entry_activities.json it should only return activities marked as "active"

Observed behaviour

  • All activities are returned
  • Additionally, the returned values don't contain the values for the "active" field, so filtering on the client-side after fetching is not possible either.

Additional notes

  • This was observed on Redmine 3.3.2
  • I also came across #8573 which notes something similar, but not for the API.

Files

31559.patch (2.5 KB) 31559.patch Go MAEDA, 2019-06-29 11:15
Actions

Also available in: Atom PDF