From d2ce98affa2339e1ecc45553a646651d238f3a0b Mon Sep 17 00:00:00 2001 From: LaRita Robinson Date: Thu, 7 Nov 2024 16:03:11 -0500 Subject: [PATCH 1/3] Re-define custom queries Definition was removed in https://github.com/scientist-softserv/adventist_knapsack/pull/859 --- config/initializers/pre_wings.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config/initializers/pre_wings.rb b/config/initializers/pre_wings.rb index 820149e..5a1cd51 100644 --- a/config/initializers/pre_wings.rb +++ b/config/initializers/pre_wings.rb @@ -1,3 +1,14 @@ Rails.application.config.to_prepare do WINGS_CONCERNS = [AdminSet, Collection, ConferenceItem, Dataset, Etd, ExamPaper, GenericWork, Image, JournalArticle, Oer, PublishedWork, Thesis].freeze end + +Rails.application.config.after_initialize do + Valkyrie::MetadataAdapter.register( + Freyja::MetadataAdapter.new, + :freyja + ) + Valkyrie.config.metadata_adapter = :freyja + + Hyrax.query_service.services[0].custom_queries.register_query_handler(Hyrax::CustomQueries::FindBySlug) + Hyrax.query_service.services[1].custom_queries.register_query_handler(Wings::CustomQueries::FindBySlug) +end \ No newline at end of file From ee4180cd8e5b0ee7983973932ee28f198e0984bb Mon Sep 17 00:00:00 2001 From: Rob Kaufman Date: Thu, 7 Nov 2024 14:35:22 -0800 Subject: [PATCH 2/3] bump to hyku main for iiif print fixes --- hyrax-webapp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyrax-webapp b/hyrax-webapp index fdbf4af..7cddd81 160000 --- a/hyrax-webapp +++ b/hyrax-webapp @@ -1 +1 @@ -Subproject commit fdbf4af6bd9f245b7d9228bc30936bbd6181ea23 +Subproject commit 7cddd81d1c90dddda8d95a0c8dae0f916d44b88f From 45f453775aa7cee05ec2c8cc32a8f92144ebcec8 Mon Sep 17 00:00:00 2001 From: Rob Kaufman Date: Thu, 7 Nov 2024 15:47:04 -0800 Subject: [PATCH 3/3] bump hyku --- hyrax-webapp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyrax-webapp b/hyrax-webapp index 7cddd81..8eeb70b 160000 --- a/hyrax-webapp +++ b/hyrax-webapp @@ -1 +1 @@ -Subproject commit 7cddd81d1c90dddda8d95a0c8dae0f916d44b88f +Subproject commit 8eeb70b21e5ebbb0284c010d48709dee9ab54675