From 1adedfdf886976be53182c57ed7c36b739be3b7d Mon Sep 17 00:00:00 2001 From: "Luis M. Rodriguez-R" Date: Sun, 28 Jul 2024 17:55:03 +0200 Subject: [PATCH] Update publication.rb --- app/models/publication.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/publication.rb b/app/models/publication.rb index 67ec37f..c3e14ba 100644 --- a/app/models/publication.rb +++ b/app/models/publication.rb @@ -176,7 +176,7 @@ def query_crossref(query) def authors_et_al(format = :text) family = authors.pluck(:family) # To reduce SQL requests - family.map! { |a| "{{a|#{a}}}" } if format == :wikispecies + family.map! { |a| "{{aut|#{a}}}" } if format == :wikispecies y = if family.empty? 'Anonymous'