Album has_pic fix, production gems fix
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
class Artist < ActiveRecord::Base
|
||||
has_many :albums, :order => '(pic_url!="" AND pic_url IS NOT NULL) DESC, year ASC, id ASC', :dependent => :destroy
|
||||
has_many :albums, :order => 'has_pic DESC, year ASC, id ASC', :dependent => :destroy
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user