resort
This commit is contained in:
parent
404568be89
commit
3b13183dbb
|
@ -212,9 +212,14 @@ class Issue < ActiveRecord::Base
|
||||||
@workflow_rule_by_attribute = nil
|
@workflow_rule_by_attribute = nil
|
||||||
@assignable_versions = nil
|
@assignable_versions = nil
|
||||||
@relations = nil
|
@relations = nil
|
||||||
|
@to_param = nil
|
||||||
base_reload(*args)
|
base_reload(*args)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# def to_param
|
||||||
|
# @to_param ||=
|
||||||
|
# end
|
||||||
|
|
||||||
# Overrides Redmine::Acts::Customizable::InstanceMethods#available_custom_fields
|
# Overrides Redmine::Acts::Customizable::InstanceMethods#available_custom_fields
|
||||||
def available_custom_fields
|
def available_custom_fields
|
||||||
(project && tracker) ? (project.all_issue_custom_fields & tracker.custom_fields.all) : []
|
(project && tracker) ? (project.all_issue_custom_fields & tracker.custom_fields.all) : []
|
||||||
|
|
Loading…
Reference in New Issue