[#5482] Fix counts when grouping by contracts in the issues list
This commit is contained in:
1 parent
3384dd3dbd
commit
496c6bada7
3 files changed
+11
-3
No files matched your search
@@ -10,7 +10,11 @@ module RedmineContracts
|
||||
belongs_to :deliverable
|
||||
|
||||
delegate :title, :to => :deliverable, :prefix => true, :allow_nil => true
|
||||
delegate :contract_name, :to => :deliverable, :allow_nil => true
|
||||
delegate :contract, :to => :deliverable, :allow_nil => true
|
||||
|
||||
def contract_name
|
||||
contract.try(:name)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user