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
  • Loading branch information
yzhoubk committed Dec 22, 2023
1 parent 9ed847e commit 1fb7f1c
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 1fb7f1c

Please sign in to comment.