Skip to content

Commit

Permalink
Merge pull request #1 from readyredmine/develop
Browse files Browse the repository at this point in the history
custom fields fix and compatibility confirmation
  • Loading branch information
34rc1n authored Sep 2, 2022
2 parents a97a0ce + c2b9775 commit 89faba5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/ready_footer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def roles

def custom
CustomValue.includes(:custom_field).where(
custom_field: {type: 'UserCustomField'},
custom_fields: {type: 'UserCustomField'},
customized_type: 'Principal',
customized_id: user.id)
.map{|custom| {custom.custom_field.name => custom.value.strip}}.reduce({}, :merge)
Expand Down
2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
version '0.5.0'
url 'https://readyredmine.com'
author_url 'https://readyredmine.com'
requires_redmine :version_or_higher => '5.0.0'
requires_redmine :version => '4.1.0'..'5.0.2'
settings :default => {
'ready_footer' => false,
'ready_footer_body' => 'Best regards,<br>{first_name} {last_name}',
Expand Down

0 comments on commit 89faba5

Please sign in to comment.