small fix for trailing ","
This commit is contained in:
parent
7435e53015
commit
bed50f2668
|
@ -51,7 +51,7 @@ class JournalPaper
|
||||||
def create_link
|
def create_link
|
||||||
title = []
|
title = []
|
||||||
|
|
||||||
title << (!self.authors.blank? ? self.authors : nil)
|
title << self.authors if !self.authors.blank?
|
||||||
title << self.paper_title if self.paper_title.present?
|
title << self.paper_title if self.paper_title.present?
|
||||||
title << self.journal_title if self.journal_title.present?
|
title << self.journal_title if self.journal_title.present?
|
||||||
title << self.vol_no if (self.vol_no.present? && self.vol_no != "0")
|
title << self.vol_no if (self.vol_no.present? && self.vol_no != "0")
|
||||||
|
@ -63,7 +63,6 @@ class JournalPaper
|
||||||
# title << pd[0]
|
# title << pd[0]
|
||||||
# end
|
# end
|
||||||
title << self.year
|
title << self.year
|
||||||
title.join(', ').gsub(', ,',',')
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# def self.member_data
|
# def self.member_data
|
||||||
|
|
Loading…
Reference in New Issue