parent
e0695fa51d
commit
4acad8088e
|
@ -310,7 +310,7 @@ class IssueQuery < Query
|
||||||
:order => options[:order],
|
:order => options[:order],
|
||||||
:limit => options[:limit],
|
:limit => options[:limit],
|
||||||
:offset => options[:offset]
|
:offset => options[:offset]
|
||||||
)
|
).reverse
|
||||||
rescue ::ActiveRecord::StatementInvalid => e
|
rescue ::ActiveRecord::StatementInvalid => e
|
||||||
raise StatementInvalid.new(e.message)
|
raise StatementInvalid.new(e.message)
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<% reply_links = authorize_for('issues', 'edit') -%>
|
<% reply_links = authorize_for('issues', 'edit') -%>
|
||||||
<% for journal in journals %>
|
<% journals.reverse.each do |journal| %>
|
||||||
<!-- modified by bai -->
|
<!-- modified by bai -->
|
||||||
<div id="change-<%= journal.id %>" class="<%= journal.css_classes %>" style=" word-wrap: break-word; word-break: break-all">
|
<div id="change-<%= journal.id %>" class="<%= journal.css_classes %>" style=" word-wrap: break-word; word-break: break-all">
|
||||||
<!-- end -->
|
<!-- end -->
|
||||||
|
|
Loading…
Reference in New Issue