From b4309349fa94b17dfb85375432542c8aa95e0278 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 6 Apr 2016 14:16:46 +0800 Subject: [PATCH] removed duplicate publication --- app/models/journal_paper.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/journal_paper.rb b/app/models/journal_paper.rb index 6f529d3..d1831c1 100644 --- a/app/models/journal_paper.rb +++ b/app/models/journal_paper.rb @@ -193,8 +193,6 @@ class JournalPaper value = self.journal_paper_author_types.collect{|type| type.title}.join(',') rescue "" when "paper_type" value = self.journal_paper_type.title rescue "" - when "publication_date" - value = p.send(t).strftime("%Y/%m/%d") rescue "" when "author_name" value = [] ([I18n.locale]+(Site.first.in_use_locales-[I18n.locale])).each do |locale|