Skip to content

Commit

Permalink
Update publication.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Jul 28, 2024
1 parent 64cb43a commit 1adedfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/publication.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 1adedfd

Please sign in to comment.