Project

General

Profile

Defect #32198 » issues_controller-fix-reference.diff

José Esteves, 2019-10-04 21:21

View differences:

app/controllers/issues_controller.rb
render :partial => 'issues/tabs/time_entries', :locals => {:time_entries => @time_entries}
when 'changesets'
@changesets = @issue.changesets.visible.preload(:repository, :user).to_a
changesets.reverse! if User.current.wants_comments_in_reverse_order?
@changesets.reverse! if User.current.wants_comments_in_reverse_order?
render :partial => 'issues/tabs/changesets', :locals => {:changesets => @changesets}
end
end
(1-1/2)