We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cc5505 commit 7d112a5Copy full SHA for 7d112a5
views/works/item.haml
@@ -7,7 +7,7 @@
7
- title = attributes["title"].to_s.gsub(/"/, '\"')
8
- views = metrics.to_h.fetch("unique-dataset-investigations-regular", 0).to_i
9
- downloads = metrics.to_h.fetch("unique-dataset-requests-regular", 0).to_i
10
-- citations = metrics.to_h.dig(:citations, "count").to_i
+- citations = metrics.to_h.dig(:citations, "citations").to_i
11
- references = metrics.to_h.dig(:references, "count").to_i
12
- relations = metrics.to_h.dig(:relations, "count").to_i
13
- if @work.present? && Array.wrap(metrics.to_h.dig(:views_histogram, "yearMonths")).any?
0 commit comments