asc sort for responses
This commit is contained in:
parent
275a7b1021
commit
c8cdfac08c
|
@ -8,7 +8,7 @@
|
|||
Response
|
||||
</h4>
|
||||
<div <%= @ticket.ticket_queries.count == (query_counter + 1) ? "id=response-container" : "" %>>
|
||||
<%= render :partial => "response", :collection => query.ticket_query_responses.desc(:created_at) %>
|
||||
<%= render :partial => "response", :collection => query.ticket_query_responses.asc(:created_at) %>
|
||||
</div>
|
||||
<% if params[:reopen] != "true" && @ticket.ticket_queries.count == (query_counter + 1) %>
|
||||
<div id="form_container" class="ticket-editor">
|
||||
|
|
|
@ -138,7 +138,7 @@
|
|||
</div>
|
||||
|
||||
<div id="query_box" class="ticket-content">
|
||||
<%= render :partial => "query", :collection => @ticket.ticket_queries.desc(:created_at) %>
|
||||
<%= render :partial => "query", :collection => @ticket.ticket_queries.asc(:created_at) %>
|
||||
</div>
|
||||
<% if params[:reopen] == "true"%>
|
||||
<% if @ticket.status == "closed" %>
|
||||
|
|
Loading…
Reference in New Issue