From ff0d1051bf55ecec46cca258c0aafe997d1ab268 Mon Sep 17 00:00:00 2001 From: Dash Peters Date: Wed, 29 Nov 2023 12:47:35 -0800 Subject: [PATCH] Use `now_taxon` in antweb exporter --- app/services/exporters/antweb/taxon_attributes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/exporters/antweb/taxon_attributes.rb b/app/services/exporters/antweb/taxon_attributes.rb index d1eefb2f35..cd6102dd32 100644 --- a/app/services/exporters/antweb/taxon_attributes.rb +++ b/app/services/exporters/antweb/taxon_attributes.rb @@ -56,7 +56,7 @@ def authorship_html_string end def current_valid_name - return unless (current_valid_name_name = taxon.current_taxon&.name&.name) + return unless (current_valid_name_name = taxon.now_taxon&.name&.name) "#{taxonomic_attributes[:subfamily]} #{current_valid_name_name}" end