diff plugins/redmine_bibliography/app/models/authorship.rb @ 1317:2805873c0147 redmine-2.2-integration

several fixes to the publications#show page and related views.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 18 Jun 2013 17:34:56 +0100
parents d0d6bbe9f2e0
children 855b4ae5ecdd
line wrap: on
line diff
--- a/plugins/redmine_bibliography/app/models/authorship.rb	Tue Jun 18 15:02:44 2013 +0100
+++ b/plugins/redmine_bibliography/app/models/authorship.rb	Tue Jun 18 17:34:56 2013 +0100
@@ -12,6 +12,8 @@
   attr_accessor :search_author_class, :search_author_id, :search_name, :search_results, :identify_author
   before_save :associate_author_user
 
+  acts_as_list
+
   # todo: review usage of scope --lf.20130108
   scope :like_unique, lambda {|q|
     s = "%#{q.to_s.strip.downcase}%"