Actions
Refactoring #254
closedProvide a method for scoping the project type master on its index page
Start date:
04/15/2021
Due date:
% Done:
100%
Estimated time:
Compatible Redmine Version:
Pull Request Link:
Description
The scope should be variable in dependence of the redmine_project_types_relations plugin. Both, variants should be applicable:
scope = ProjectType.masters.includes(:subordinates).status(@status).sorted
or
scope = ProjectType.masters.status(@status).sorted
Actions