gtt-project / redmine_supply

Redmine plugin to enable supply management for issues.
GNU General Public License v3.0
1 stars 1 forks source link

Support active/inactive functionality of supply/resource item #18

Open sanak opened 6 months ago

sanak commented 6 months ago

Problem Related with #17, there seems to be use case that filtering out some supply/resource items is preferable when adding supply/resource item in issue edit view. Resource item has end date and it is possible to filter out ended items, but that is not so straight forward.

Improvement Support lock/unlock functionality in supply/resource item like Redmine core's user model.

Alternatives About the additional attribute name, either of the followings can be used:

sanak commented 6 months ago

lock/unclock words may be too much for just filtering out some supply/resource items, so I will use active/inactive for this issue.

sanak commented 6 months ago

Well, this changes cause too long supply/resource items list in /projects/{project identifier}/(asset|human)_resource_items views. Probably, supporting filter by status function like Redmine core /users and /admin/projects views will be necessary, although supporting sort order by position logic will become quite complex.