diff --git a/app/models/concerns/academic_commons/desc_metadata.rb b/app/models/concerns/academic_commons/desc_metadata.rb index c57c7742..aefef609 100644 --- a/app/models/concerns/academic_commons/desc_metadata.rb +++ b/app/models/concerns/academic_commons/desc_metadata.rb @@ -190,7 +190,7 @@ def index_descmetadata(solr_doc = {}) # SUBJECT mods.css('> subject').each do |subject_node| attri = subject_node.attributes - next unless attri.count.zero? || (attri['authority'] && attri['authority'].value == 'fast') + next unless attri.count.zero? || (attri['authority']) subject_node.css('topic,title,namePart').each do |topic_node| add_field.call 'subject_ssim', topic_node add_field.call 'subject_q', topic_node