Make DMS document available as Type of a custom field #1248
This commit is contained in:
parent
73193baa68
commit
17ac75f90a
@ -107,3 +107,8 @@ Style/FrozenStringLiteralComment:
|
|||||||
Style/OpenStructUse:
|
Style/OpenStructUse:
|
||||||
Exclude:
|
Exclude:
|
||||||
- lib/dav4rack/utils.rb
|
- lib/dav4rack/utils.rb
|
||||||
|
|
||||||
|
Style/OptionalBooleanParameter:
|
||||||
|
Exclude:
|
||||||
|
- lib/redmine_dmsf/field_formats/dmsf_file_format.rb
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ module RedmineDmsf
|
|||||||
options
|
options
|
||||||
end
|
end
|
||||||
|
|
||||||
def formatted_value(view, _custom_field, value, _customized: nil, _html: false)
|
def formatted_value(view, _custom_field, value, _customized = nil, _html = false)
|
||||||
return '' if value.blank?
|
return '' if value.blank?
|
||||||
|
|
||||||
dmsf_file = DmsfFile.find_by(id: value)
|
dmsf_file = DmsfFile.find_by(id: value)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user