Skip to content

Commit

Permalink
ACHYDRA-879 removes the requirement that subject topics are from the …
Browse files Browse the repository at this point in the history
…FAST vocabulary
  • Loading branch information
ej2432 authored and barmintor committed Sep 26, 2022
1 parent b3ad82c commit d175f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/academic_commons/desc_metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d175f89

Please sign in to comment.