Skip to content

Commit

Permalink
Show the correct availability for titles when the default available s…
Browse files Browse the repository at this point in the history
…tatus is not set to On Shelf
  • Loading branch information
mdnoble73 committed Jun 12, 2024
1 parent c128a7f commit 89ea003
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Binary file modified code/reindexer/reindexer.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ private float getKohaVersion(Connection kohaConn){

@Override
protected boolean isItemAvailable(ItemInfo itemInfo, String displayStatus, String groupedStatus) {
return !inTransitItems.contains(itemInfo.getItemIdentifier()) && displayStatus.equals("On Shelf") || (settings.getTreatLibraryUseOnlyGroupedStatusesAsAvailable() && groupedStatus.equals("Library Use Only"));
return !inTransitItems.contains(itemInfo.getItemIdentifier()) && groupedStatus.equals("On Shelf") || (settings.getTreatLibraryUseOnlyGroupedStatusesAsAvailable() && groupedStatus.equals("Library Use Only"));
}

private final HashSet<String> additionalStatuses = new HashSet<>();
Expand Down
1 change: 1 addition & 0 deletions code/web/release_notes/24.06.00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
- Translate error messages while performing self registration. (Ticket 133351) (*MDN*)
- If a patron has an extended attribute of SHOUTBOMB, show that attribute on the messaging preferences page in addition to showing it on the contact information page. (Ticket 128982) (*MDN*)
- Show a blank value for Koha extended attributes if they are not required, and they are linked to an authorised value. (Ticket 128982) (*MDN*)
- Show the correct availability for titles when the default available status is not set to On Shelf. (Ticket 132534) (*MDN*)

### Location Updates
- Fixed a bug where updating coordinates required two saves to properly store the values from the Google API. (*KK*)
Expand Down

0 comments on commit 89ea003

Please sign in to comment.