# HG changeset patch # User luisf # Date 1312901708 -3600 # Node ID e1699e8d6d69341d580ca887579d94d896696e73 # Parent f1ef292029563a8fd2cecf126e13a91bbd82347a Closes Issue #249 diff -r f1ef29202956 -r e1699e8d6d69 vendor/plugins/redmine_bibliography/app/models/publication.rb --- a/vendor/plugins/redmine_bibliography/app/models/publication.rb Tue Aug 09 14:52:08 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/models/publication.rb Tue Aug 09 15:55:08 2011 +0100 @@ -3,7 +3,7 @@ class Publication < ActiveRecord::Base unloadable - has_many :authorships, :dependent => :destroy + has_many :authorships, :dependent => :destroy, :order => "auth_order ASC" has_many :authors, :through => :authorships, :uniq => true has_one :bibtex_entry, :dependent => :destroy