Patch #37155 » 0001-makes-sure-Issue-last_notes-only-returns-note-text-o.patch
| app/models/issue.rb | ||
|---|---|---|
| 1168 | 1168 | if @last_notes | 
| 1169 | 1169 | @last_notes | 
| 1170 | 1170 | else | 
| 1171 | journals.where.not(notes: '').reorder(:id => :desc).first.try(:notes) | |
| 1171 |       journals.visible.where.not(notes: '').reorder(:id => :desc).first.try(:notes) | |
| 1172 | 1172 | end | 
| 1173 | 1173 | end | 
| 1174 | 1174 | |