Add column picker option for number of holds in item context
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Our libraries have expressed and interest for a feature that would allow them to quickly know about holds on items while viewing a list of items. For example, the items out screen, they would like to be able to inform the patron at the desk about which item(s) have holds and therefore cannot be renewed. The patron would presumably, read those items first and return them first knowing that they would not be able to renew them.
It seems like this information could easily be added to the fleshing of an item. An extra query such as:
select count(*) from action.hold_request where cancel_time is null and fulfillment_time is null and capture_time is null and id in
(select hold from action.
should return the number of holds on a given item and could be displayed along with all of the other columns in the staff client/web based staff client.
This removes the complex query for checking hold types and comparing them to each of the different targets. Instead, let's use the logic that the hold target has already used and query the hold_copy_map.
Changed in evergreen: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
milestone: | none → 2.next |
Changed in evergreen: | |
assignee: | nobody → Andrea Neiman (aneiman) |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Here is the code for that
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ blake/LP1402770 _column_ picker_ option_ for_number_ of_holds