Place Hold Option Not Hidden In OPAC If Other Libraries Have Holdable Items

Bug #1819956 reported by Jennifer Pringle
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Wishlist
Unassigned

Bug Description

Tested on 3.1.7 and 3.2.2

In the OPAC the Place Hold link is hidden for a record if all items attached to the record are in non-holdable shelving location or have Holdable set to False at the item level. The issue is that items not in the scope of the OPAC (and not visible or available to users) are use to determine whether or not to display the Place Hold link.

Ideally, whether or not the Place Hold link displays should depend on the items that are in the scope of the OPAC. Items that are not in the scope of the OPAC should be ignored.

If I'm looking at LibraryA's OPAC (which is just scoped to LibraryA) and their item is not-holdable, the Place Hold link shouldn't display in LibraryA's OPAC even if LibraryB also has a copy that is holdable

If LibraryC is in a federation and their OPAC is scoped to show LibraryC, LibraryD, and LibraryE Evergreen should use the items from all three libraries to determine when to hide the Place Hold link.

Changed in evergreen:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Jeff Davis (jdavis-sitka) wrote :

At a quick glance, it appears that the OPAC determines whether a title has holdable copies by looking at //*[local-name()="holdings" and @has_holdable="true"] in the unAPI representation of the record. So that might be the place to look.

Dan Briem (dbriem)
tags: added: circ-holds
removed: holds
Revision history for this message
Jennifer Pringle (jpringle-u) wrote :

Tested on bootstrap in 3.9 and this issue persists in bootstrap.

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.