From 00be94d6267a40cb0de2b2b4ebe6bbc553d9cb1c Mon Sep 17 00:00:00 2001 From: Shana Moore Date: Mon, 6 Nov 2023 14:47:31 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Set=20nested=5Frelationship=5Fre?= =?UTF-8?q?indexer=20in=20Hyrax=20initializer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In this commit we are setting nested_relationship_reindexer in the Hyrax initializer to use the nested indexer. --- config/initializers/hyrax.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/initializers/hyrax.rb b/config/initializers/hyrax.rb index 2cf8ff6ec..4c5a16584 100644 --- a/config/initializers/hyrax.rb +++ b/config/initializers/hyrax.rb @@ -195,6 +195,8 @@ # See Samvera Slack thread https://samvera.slack.com/archives/C0F9JQJDQ/p1596718417351200?thread_ts=1596717896.350700&cid=C0F9JQJDQ uri.sub(/\Ahttp:/, 'https:') end + + config.nested_relationship_reindexer = ->(id:, extent:) {} end Date::DATE_FORMATS[:standard] = "%m/%d/%Y"