Skip to content

Commit

Permalink
fix bibtex in graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Apr 12, 2020
1 parent 8d58b43 commit d3a6caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/graphql/types/doi_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def bibtex
keywords: object.subjects.present? ? Array.wrap(object.subjects).map { |k| parse_attributes(k, content: "subject", first: true) }.join(", ") : nil,
language: object.language,
title: parse_attributes(object.titles, content: "title", first: true),
journal: object.container && container["title"],
journal: object.container && object.container["title"],
volume: object.container.to_h["volume"],
issue: object.container.to_h["issue"],
pages: pages,
Expand Down

0 comments on commit d3a6caa

Please sign in to comment.