Project

General

Profile

« Previous | Next » 

Revision 9f47d0c7

Added by Marc Dequènes almost 15 years ago

  • ID 9f47d0c75837bd92324b8372e18e74989011d6e5

[fix] work around steps order when done at the same date (considering people would add them in chronological order) using image id

View differences:

app/models/artwork.rb
belongs_to :artwork_size
belongs_to :artwork_condition
belongs_to :artwork_placement_reason
has_many :artwork_step_images, :order => "date ASC"
has_many :artwork_step_images, :order => "date ASC, id DESC"
has_and_belongs_to_many :artwork_supports, :order => "name ASC"
has_and_belongs_to_many :artwork_materials, :order => "name ASC"

Also available in: Unified diff