From 48dcb35cb4eea185158d24d2f2572576b3483d5d Mon Sep 17 00:00:00 2001 From: Yanjun Li <74245023+LiYanjun19@users.noreply.github.com> Date: Tue, 14 Jan 2025 15:38:57 -0500 Subject: [PATCH 1/2] DIS-180 follow up hide Hoopla indexByDay settings --- code/web/sys/Hoopla/HooplaSetting.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/web/sys/Hoopla/HooplaSetting.php b/code/web/sys/Hoopla/HooplaSetting.php index e528aaf98c..ffd545ebfd 100644 --- a/code/web/sys/Hoopla/HooplaSetting.php +++ b/code/web/sys/Hoopla/HooplaSetting.php @@ -74,8 +74,8 @@ public static function getObjectStructure($context = ''): array { 'label' => 'Index By Day', 'description' => 'Whether or hoopla indexing should only occur once a day', 'default' => 1, - 'readOnly' => true, - 'note' => 'This setting is defaulted to true for all Hoopla instances', + 'type' => "hidden", + 'hideInLists' => true, ], 'lastUpdateOfChangedRecords' => [ 'property' => 'lastUpdateOfChangedRecords', From 5fa10718086c9496ac369db9d9d4323f3d34f8b2 Mon Sep 17 00:00:00 2001 From: Yanjun Li <74245023+LiYanjun19@users.noreply.github.com> Date: Tue, 14 Jan 2025 15:45:03 -0500 Subject: [PATCH 2/2] Update 25.01.00.MD --- code/web/release_notes/25.01.00.MD | 1 + 1 file changed, 1 insertion(+) diff --git a/code/web/release_notes/25.01.00.MD b/code/web/release_notes/25.01.00.MD index e67e4fa4fb..6cfdbf6d66 100644 --- a/code/web/release_notes/25.01.00.MD +++ b/code/web/release_notes/25.01.00.MD @@ -52,6 +52,7 @@ ### Hoopla Updates - Optimize Hoopla daily indexing behavior and set "Index By Day" as a default setting. (DIS-180) (*YL*) +- Hide "Index By Day" in the Hoopla settings page. (DIS-180) (*YL*) ### Indexing Updates - When indexing the 100, 700 and 800 fields to load information about authors and contributors include subfield c to distinguish between authors where titles and additional information is important. (DIS-161) (*MDN*)