[#4389] Add the Deliverable filter to the Time Entry report.
This commit is contained in:
1 parent
a3e1aa277f
commit
620eaa262f
4 files changed
+74
No files matched your search
@@ -0,0 +1,14 @@
|
||||
module RedmineContracts
|
||||
module Hooks
|
||||
class ControllerTimelogAvailableCriteriasHook < Redmine::Hook::ViewListener
|
||||
def controller_timelog_available_criterias(context={})
|
||||
context[:available_criterias]["deliverable_id"] = {
|
||||
:sql => "#{Issue.table_name}.deliverable_id",
|
||||
:klass => Deliverable,
|
||||
:label => :field_deliverable
|
||||
}
|
||||
return ''
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user