Make DMS document available as Type of a custom field #1248
This commit is contained in:
parent
73193baa68
commit
17ac75f90a
@ -106,4 +106,9 @@ Style/FrozenStringLiteralComment:
|
||||
|
||||
Style/OpenStructUse:
|
||||
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
|
||||
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?
|
||||
|
||||
dmsf_file = DmsfFile.find_by(id: value)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user