Skip to content

Commit

Permalink
DEV-431 add zipfile with collection and skip to update dct_reference …
Browse files Browse the repository at this point in the history
…for collection record (#17)
  • Loading branch information
yzhoubk authored Dec 22, 2023
1 parent 9ed847e commit c9be402
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gingr/solr_indexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def index_directory(directory)
def update_reference_urls!(doc)
Gingr::Config.reference_urls.each do |name, from_url|
to_url = @reference_urls[name]
doc['dct_references_s'].gsub!(from_url, to_url) if to_url
doc['dct_references_s'].gsub!(from_url, to_url) if doc.key?('dct_references_s') && to_url
end
end

Expand Down
Binary file not shown.

0 comments on commit c9be402

Please sign in to comment.