Revision ba788eca
Added by Marc Dequènes almost 14 years ago
- ID ba788eca2972b79185a5100ab94e77febd9aa9aa
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, id DESC"
|
||
has_many :artwork_step_images, :order => "date ASC, position 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
[cosmetic] added position number to artwork_step_images, only visible in the admin pages, to be able to change order for steps made the same day (closes #16)