Project

General

Profile

« Previous | Next » 

Revision ca0e6553

Added by Marc Dequènes over 15 years ago

  • ID ca0e6553441017611bf1da47ee43c902a6aeca23

[fix] worked around artwork list default sort not enforced

View differences:

app/views/admin/artworks/index.rhtml
<th><%= _("Steps") %></th>
<th><%= _("Actions") %></th>
</tr>
<%
# work around 'sortable-list' plugin not enforcing default sort
params[:sort] ||= :title
%>
<% @artworks = resource_model.paginate(:all, :include => [:artwork_set, :artwork_group], :order => params[:sort], :page => params[:page]) %>
<% @artworks.each do |artwork| %>
<tr>

Also available in: Unified diff