Skip to content

Commit

Permalink
Correct loading actions for Cloud Library
Browse files Browse the repository at this point in the history
  • Loading branch information
mdnoble73 committed Jan 14, 2025
1 parent be01bf2 commit bd69eb2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion code/web/RecordDrivers/CloudLibraryRecordDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public function getMoreDetailsOptions() {
return $this->filterAndSortMoreDetailsOptions($moreDetailsOptions);
}

protected $_actions = null;
protected ?array $_actions = null;

public function getRecordActions($relatedRecord, $variationId, $isAvailable, $isHoldable, $volumeData = null) : array {
if ($this->_actions === null) {
Expand Down
2 changes: 1 addition & 1 deletion code/web/RecordDrivers/MarcRecordDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ function getRecordUrl() {
return "/" . $this->getModule() . "/$recordId";
}

protected array $_actions = [];
protected ?array $_actions = [];

public function getRecordActions($relatedRecord, $variationId, $isAvailable, $isHoldable, $volumeData = null) : array {
require_once ROOT_DIR . '/RecordDrivers/RecordActionGenerator.php';
Expand Down
7 changes: 5 additions & 2 deletions code/web/release_notes/25.01.00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
### Boundless/Axis360 Updates
- Update Boundless/Axis360 get records availability API URL and adjusted response processing (DIS-162) (*YL*)

### Hoopla Updates
- Optimize Hoopla daily indexing behavior and set "Index By Day" as a default setting. (DIS-180) (*YL*)
### CloudLibrary Updates
- Correct loading actions for CloudLibrary records. (*MDN*)

### Docker Updates
- Check if ils tables have been initialized to avoid database conflicts. (*LM*)
Expand All @@ -50,6 +50,9 @@
- Allow patron to select sublocation, if available, when updating a hold's pickup location. (DIS-48) (*KK*)
- On the Holds page if a pickup sublocation set for a hold, display the sublocation. (DIS-48) (*KK*)

### Hoopla Updates
- Optimize Hoopla daily indexing behavior and set "Index By Day" as a default setting. (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*)
- When checking for Yoto players, check to be sure yoto is found with word boundaries on either side to avoid matching Kyoto. (DIS-154) (*MDN*)
Expand Down

0 comments on commit bd69eb2

Please sign in to comment.