mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-11 03:33:07 +00:00
Merged r21613 to 5.0-stable (#37155).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21620 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
25883ce5d0
commit
78036b902c
@ -1168,7 +1168,7 @@ class Issue < ActiveRecord::Base
|
||||
if @last_notes
|
||||
@last_notes
|
||||
else
|
||||
journals.where.not(notes: '').reorder(:id => :desc).first.try(:notes)
|
||||
journals.visible.where.not(notes: '').reorder(:id => :desc).first.try(:notes)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user