Fixed group issues/mr. Also speedup project list of admin area
This commit is contained in:
parent
c626ec3746
commit
d88332709c
5 changed files with 16 additions and 6 deletions
|
@ -18,6 +18,7 @@ module IssueCommonality
|
|||
|
||||
scope :opened, where(closed: false)
|
||||
scope :closed, where(closed: true)
|
||||
scope :of_group, ->(group) { where(project_id: group.project_ids) }
|
||||
scope :assigned, lambda { |u| where(assignee_id: u.id)}
|
||||
|
||||
delegate :name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue