changeset 1363:855b4ae5ecdd luisf

Should fix Bug #658.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 19 Aug 2013 13:40:58 +0100
parents 8633c9040b3b
children 4d5d25039a5f
files plugins/redmine_bibliography/app/models/authorship.rb
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/redmine_bibliography/app/models/authorship.rb	Tue Jul 30 12:03:10 2013 +0100
+++ b/plugins/redmine_bibliography/app/models/authorship.rb	Mon Aug 19 13:40:58 2013 +0100
@@ -12,7 +12,8 @@
   attr_accessor :search_author_class, :search_author_id, :search_name, :search_results, :identify_author
   before_save :associate_author_user
 
-  acts_as_list
+  # tod: review scope of ordering
+  acts_as_list :column => 'auth_order'
 
   # todo: review usage of scope --lf.20130108
   scope :like_unique, lambda {|q|