forked from saurabh/personal-journal
removed duplicate publication
This commit is contained in:
parent
ee4a42477a
commit
b4309349fa
|
@ -193,8 +193,6 @@ class JournalPaper
|
||||||
value = self.journal_paper_author_types.collect{|type| type.title}.join(',') rescue ""
|
value = self.journal_paper_author_types.collect{|type| type.title}.join(',') rescue ""
|
||||||
when "paper_type"
|
when "paper_type"
|
||||||
value = self.journal_paper_type.title rescue ""
|
value = self.journal_paper_type.title rescue ""
|
||||||
when "publication_date"
|
|
||||||
value = p.send(t).strftime("%Y/%m/%d") rescue ""
|
|
||||||
when "author_name"
|
when "author_name"
|
||||||
value = []
|
value = []
|
||||||
([I18n.locale]+(Site.first.in_use_locales-[I18n.locale])).each do |locale|
|
([I18n.locale]+(Site.first.in_use_locales-[I18n.locale])).each do |locale|
|
||||||
|
|
Loading…
Reference in New Issue