Revision ca0e6553
Added by Marc Dequènes almost 16 years ago
- ID ca0e6553441017611bf1da47ee43c902a6aeca23
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
[fix] worked around artwork list default sort not enforced