mirror of
https://github.com/redmine/redmine.git
synced 2026-02-01 12:20:12 +01: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user