Skip to content

Commit

Permalink
Merge branch 'summon_new_features_24.06.00_cr' into summon_new_featur…
Browse files Browse the repository at this point in the history
…es_24.06.00_ab
  • Loading branch information
AlexanderBlanchardAC authored May 28, 2024
2 parents e297d92 + ae13f23 commit e1ccad6
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 8 deletions.
Binary file added code/folio_export/folio_export.jar
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{strip}
{* TODO: Consider renaming classes to assume they are under the exploreMoreBar class *}
{if !empty($showExploreMoreOptions)}
<div class="exploreMoreBar row">
{*<div class="label-left">*}
<div class="label-top">
Expand Down Expand Up @@ -50,4 +51,9 @@
</div>

</div>
{/strip}
{else}
<div>
</div>
{/if}
{/strip}

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=https://www.google.com/
HostUrl=https://files.mtstatic.com/site_11811/55152/0?Expires=1708452791&Signature=O-eIysOYl-1drJTT2f6LTnuDXMhKycAnvuWBQT53Y5WC-uFeYwIE744-kFoVgc-gDsc1ODNBFX1G09SEdxs6NAzaBLFM1c9V0Xq3GZiKsUMivxIQC8YNpa9VHLWM0KE-snOgnMcGuuzuqvpFNAZA5J7FNpYuE~F2eWzOKKYIdhw_&Key-Pair-Id=APKAJ5Y6AV4GI7A555NA
6 changes: 2 additions & 4 deletions code/web/release_notes/24.06.00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
## Aspen Discovery Updates
//mark

//alexander

### Summon Updates
- Added control over whether images avaialble from the API are used in a Summon Search or whether Aspen created covers only should be used - impacts load speed. (*AB*)
- Limited Summon Search results to those within each libraries subscription. (*AB / JO*)
- Added limit filters for Summon Search - search by whether record is scholarly and whether it is peer reviewed. (*AB / JO*)

### Koha Updates
- When a user has opted out of auto-renewal, do not show auto-renewal message even if the title is otherwise eligible for auto-renewal. (Ticket 131789) (*MDN*)

Expand Down
2 changes: 1 addition & 1 deletion code/web/sys/DBMaintenance/version_updates/23.12.01.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ function getUpdates23_12_01(): array {
'UPDATE overdrive_settings SET runFullUpdate = 1',
]
], //force_overdrive_full_update
];
];
}
2 changes: 0 additions & 2 deletions code/web/sys/DBMaintenance/version_updates/24.05.00.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ function getUpdates24_05_00(): array {
'ALTER TABLE javascript_snippets ADD COLUMN containsAnalyticsCookies TINYINT(1)'
]
], //Snippet_Contains_Marketing_Cookies


];
}

Expand Down
1 change: 1 addition & 0 deletions code/web/sys/Interface.php
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,7 @@ function loadDisplayOptions($fromBookCoverProcessing = false) {
$this->assign('showDisplayNameInHeader', $library->showDisplayNameInHeader);
$this->assign('externalMaterialsRequestUrl', $library->externalMaterialsRequestUrl);
$this->assign('languageAndDisplayInHeader', $library->languageAndDisplayInHeader);
$this->assign('showExploreMoreOptions', $library->getLayoutSettings()->showExploreMoreOptions);

if ($location != null) {
$this->assign('showDisplayNameInHeader', $location->showDisplayNameInHeader);
Expand Down
8 changes: 8 additions & 0 deletions code/web/sys/Theming/LayoutSetting.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class LayoutSetting extends DataObject {
public $showTopOfPageButton;
public $dismissPlacardButtonLocation;
public $dismissPlacardButtonIcon;
public $showExploreMoreOptions;
public $contrastRatio;

static function getObjectStructure($context = ''): array {
Expand Down Expand Up @@ -103,6 +104,13 @@ static function getObjectStructure($context = ''): array {
'description' => 'Whether or not to show icon instead of default dismiss placard text',
'default' => false,
],
'showExploreMoreOptions' => [
'property' => 'showExploreMoreOptions',
'type' => 'checkbox',
'label' => 'Show Explore More Options',
'description' => 'Whether or not to display the Explore More Options box.',
'default' => true,
],
'contrastRatio' => [
'property' => 'contrastRatio',
'type' => 'enum',
Expand Down

0 comments on commit e1ccad6

Please sign in to comment.