app/controllers/manifestations_controller.rb in enju_biblio-0.0.5 vs app/controllers/manifestations_controller.rb in enju_biblio-0.0.6
- old
+ new
@@ -593,10 +593,10 @@
case sort_by
when 'title'
sort[:sort_by] = 'sort_title'
sort[:order] = 'asc'
when 'pub_date'
- sort[:sort_by] = 'sort_date_of_publication'
+ sort[:sort_by] = 'date_of_publication'
sort[:order] = 'desc'
else
# デフォルトの並び方
sort[:sort_by] = 'created_at'
sort[:order] = 'desc'