OverDrive API display of Always Available Titles

Bug #1711128 reported by Suzanne Paterno
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Undecided
Unassigned

Bug Description

With the OverDrive API availability on in the catalog, titles with unlimited availability are displayed as Status: 999991 of 999999 copies available. Text should read "Always Available" or something users can understand.

Revision history for this message
Suzanne Paterno (paterno) wrote :
tags: added: pullrequest
Revision history for this message
Jeff Davis (jdavis-sitka) wrote :

Thanks, Suzanne!

It looks like Simultaneous Use ("always available") titles show 999,999 copies owned, and Cost Per Circ ("limited availability") titles show 500,000 copies owned. Do we want to distinguish between those?

http://developer.overdrive.com/apis/library-availability

Revision history for this message
Jason Etheridge (phasefx) wrote :

If it's too much of a momentum killer, we can open a separate bug for this, but we'll want to I18N'ize those strings sooner or later.

Revision history for this message
Suzanne Paterno (paterno) wrote :

NOBLE doesn't have any Cost Per Circ items yet, so we don't have the details on exactly how they work. But I would think from the patron's perspective they would also be always available, unless there's a configuration that restricts the number of times they can be checked out that way.

Jason, I figured the strings would be a I18N might be a problem.

Revision history for this message
Galen Charlton (gmc) wrote :

The patch just committed for bug 1710512 has a model for how the I18N can be handled.

Changed in evergreen:
assignee: nobody → Jeff Davis (jdavis-sitka)
Michele Morgan (mmorgan)
Changed in evergreen:
milestone: none → 3.next
tags: added: overdrive
Changed in evergreen:
assignee: Jeff Davis (jdavis-sitka) → nobody
Michele Morgan (mmorgan)
Changed in evergreen:
assignee: nobody → Michele Morgan (mmorgan)
Revision history for this message
Michele Morgan (mmorgan) wrote :
Changed in evergreen:
milestone: 3.next → 3.4.3
Michele Morgan (mmorgan)
Changed in evergreen:
assignee: Michele Morgan (mmorgan) → nobody
Changed in evergreen:
milestone: 3.4.3 → 3.4.4
Changed in evergreen:
milestone: 3.4.4 → 3.5.2
Changed in evergreen:
milestone: 3.5.2 → 3.6.1
Changed in evergreen:
milestone: 3.6.1 → 3.6.2
Changed in evergreen:
status: New → Confirmed
Changed in evergreen:
milestone: 3.6.2 → 3.6.3
Revision history for this message
Martha Driscoll (mjdriscoll) wrote :

Here is a branch that adds a distinction between simultaneous use and cost per circ titles as noted by Jeff in comment #2. Simultaneous use titles will display "Always available" while cost per circ titles will display "Limited availability." I'm not sure that language is meaningful to patrons but that is the language Overdrive uses. Input from someone with cost per circ titles appreciated.

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/driscoll/lp1711128_add_limited_availability

Changed in evergreen:
milestone: 3.6.3 → 3.6.4
Changed in evergreen:
milestone: 3.6.4 → 3.7.2
no longer affects: evergreen/3.4
no longer affects: evergreen/3.5
Changed in evergreen:
milestone: 3.7.2 → 3.7.3
no longer affects: evergreen/3.6
Changed in evergreen:
milestone: 3.7.3 → none
Revision history for this message
Martha Driscoll (mjdriscoll) wrote :

The API is not returning Cost per Circ items with limitedAvailability as the lending model and 500,000 as copies owned as specified in the v1 documentation for the availability API:

https://developer.overdrive.com/apis/library-availability

The version 2 API documentation does not mention Cost per Circ specifically:

https://developer.overdrive.com/apis/library-availability-new

I tested both the v1 and v2 availability API's using overdrive-api-checker.pl and found that Cost per Circ titles are returned with a lending model of normal and 1 copy owned/1 copy available:

"available":true,
    "availabilityType":"Normal",
    "copiesOwned":1,
    "copiesAvailable":1,
    "numberOfHolds":0

We don't have many Cost per Circ items so would appreciate someone else confirming this.

Revision history for this message
Martha Driscoll (mjdriscoll) wrote :

The Overdrive API Reference Guide says this about the Cost per Circ lending model:

"Cost Per Circ titles look identical to One Copy/One User titles in OverDrive's APIs. The only difference is that they will always show one owned copy, and they will never become unavailable unless the library's monthly budget runs out."

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.