Project

General

Profile

Actions

Refactoring #254

closed

Provide a method for scoping the project type master on its index page

Added by liaham about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04/15/2021
Due date:
% Done:

100%

Estimated time:
Compatible Redmine Version:

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

Also available in: Atom PDF