diff --git a/code/web/release_notes/25.01.00.MD b/code/web/release_notes/25.01.00.MD index e6c82dd649..79f7d90b02 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*) 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',