[#4552] Link the issue counts to filtered Issue lists

This commit is contained in:
Eric Davis committed 2010-09-29 12:06:53 -07:00
1 parent 20f89adf39
commit 15d626b6d8
3 files changed
+39 -10

No files matched your search

+15
View File
@@ -143,4 +143,19 @@ module ContractsHelper
end
end
def link_to_issue_list_with_filter(text, options={})
deliverable_id = options[:deliverable_id] || '*'
status_id = options[:status_id] || '*'
link_to(h(text), {
:controller => 'issues',
:action => 'index',
:project_id => @project,
:set_filter => 't',
:status_id => status_id,
:deliverable_id => deliverable_id
})
end
end