Place Hold Option Not Hidden In OPAC If Other Libraries Have Holdable Items
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 |
tags: |
added: circ-holds removed: holds |
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.