|
|
|
@ -212,9 +212,14 @@ class Issue < ActiveRecord::Base
|
|
|
|
|
@workflow_rule_by_attribute = nil
|
|
|
|
|
@assignable_versions = nil
|
|
|
|
|
@relations = nil
|
|
|
|
|
@to_param = nil
|
|
|
|
|
base_reload(*args)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# def to_param
|
|
|
|
|
# @to_param ||=
|
|
|
|
|
# end
|
|
|
|
|
|
|
|
|
|
# Overrides Redmine::Acts::Customizable::InstanceMethods#available_custom_fields
|
|
|
|
|
def available_custom_fields
|
|
|
|
|
(project && tracker) ? (project.all_issue_custom_fields & tracker.custom_fields.all) : []
|
|
|
|
|