Mercurial > hg > soundsoftware-site
changeset 571:e1699e8d6d69 feature_36
Closes Issue #249
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 09 Aug 2011 15:55:08 +0100 |
parents | f1ef29202956 |
children | 031d70972601 aed210f6095b f463be9d101a |
files | vendor/plugins/redmine_bibliography/app/models/publication.rb |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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