# HG changeset patch # User Chris Cannam # Date 1312902128 -3600 # Node ID 031d70972601742dbada47b402ed91816eaa76d6 # Parent fca539d668a28844d196deedabf3bdfc635f415a# Parent e1699e8d6d69341d580ca887579d94d896696e73 Merge from feature_36 diff -r fca539d668a2 -r 031d70972601 vendor/plugins/redmine_bibliography/app/models/publication.rb --- a/vendor/plugins/redmine_bibliography/app/models/publication.rb Tue Aug 09 14:54:06 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/models/publication.rb Tue Aug 09 16:02: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