Project

General

Profile

« Previous | Next » 

Revision 4a95d72c

Added by Marc Dequènes over 15 years ago

  • ID 4a95d72c054c74d68a3935e9235b81ea583b858d

[fix] sets should be ordered in tree view

View differences:

app/views/view/tree.rhtml
<h1><%= _("Tree view of the Cyma") %></h1>
<table>
<% ArtworkSet.find(:all).each do |set| %>
<% ArtworkSet.find(:all, :order => 'name ASC').each do |set| %>
<tr><th><%= display_artwork_frame(set.artworks.last, :frame_type => :cell, :size => :thumb_small, :force_title => set.name, :display_size => false) %></th>
<% unless set.artwork_groups.empty? %>
<% set.artwork_groups.each do |group| %>

Also available in: Unified diff