Mercurial > hg > soundsoftware-site
changeset 447:565f82b8ff9c feature_36
added the uniq option to the publicatioin models to remove duplicate authors
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 08 Jun 2011 13:37:47 +0100 |
parents | 995d4c99843d |
children | 0a5d997578da |
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 Wed Jun 08 13:29:40 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/models/publication.rb Wed Jun 08 13:37:47 2011 +0100 @@ -4,7 +4,7 @@ unloadable has_many :authorships - has_many :authors, :through => :authorships + has_many :authors, :through => :authorships, :uniq => true has_one :bibtex_entry, :dependent => :destroy