Bug 11157

Summary: Placing a simple item-level hold for serials.
Product: Koha Reporter: Olli-Antti Kivilahti <olli-antti.kivilahti>
Component: CirculationAssignee: Olli-Antti Kivilahti <olli-antti.kivilahti>
Status: BLOCKED --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: abl, ephetteplace, gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: Sponsored Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 6385    
Bug Blocks:    
Attachments: Bug 11157 - Placing a simple item-level hold for serials.
Bug 11157 - Placing a simple item-level hold for serials.
Bug 11157 - Placing a simple item-level hold for serials.
Bug 11157 - Placing a simple item-level hold for serials.
Bug 11157 - Placing a simple item-level hold for serials.
Bug 11157 - Placing a simple item-level hold for serials in OPAC.
Bug 11157 - Placing a simple item-level hold for serials in staff client.
Bug 11157 - Placing a simple item-level hold for serials in OPAC.
Bug 11157 - Placing a simple item-level hold for serials in OPAC.
Bug 11157 - Placing a simple item-level hold for serials in staff client.
Manual test plan for OPAC
Manual test plan for staff client
Bug 11157 - Placing a simple item-level hold for serials in OPAC.
Bug 11157 - Placing a simple item-level hold for serials in staff client.
Bug 11157 - Placing a simple item-level hold for serials in OPAC.
Bug 11157 - Placing a simple item-level hold for serials in staff client.

Description Olli-Antti Kivilahti 2013-10-29 08:04:07 UTC
Our patrons want to place holds on a serial item.
This is problematic when we have thousands of serial items in our DB.
The traditional opac-reserve.pl/.tt way of placing a item-level hold is impossible.
Extending opac-reserve.pl/.tt to accept a itemnumber as a parameter to display and preselect only the desired item, without ever SELECTing all the items+biblios+bibitems unnecessarily.

Also important to disable the default "Place hold"-mechanism for serial records and replace it with "Place hold" for each serial item so a item-level hold can be initiated straight from the items-display table in opac-detail.tt.
Comment 1 Olli-Antti Kivilahti 2013-10-29 08:27:28 UTC Comment hidden (obsolete)
Comment 2 Olli-Antti Kivilahti 2013-10-29 09:30:17 UTC Comment hidden (obsolete)
Comment 3 Olli-Antti Kivilahti 2013-10-29 10:21:59 UTC Comment hidden (obsolete)
Comment 4 Olli-Antti Kivilahti 2013-10-29 10:33:58 UTC
My solution is a simple dirty hack which works on the existing opac-reserve.pl.
A better solution should be formulated. Ideas about how to implement them are welcome.
Comment 5 Olli-Antti Kivilahti 2013-10-29 14:07:51 UTC
Extended the functionality to the staff client.
Added sysprefs (again!) to control placing a item-level hold from the detail.pl/.tt view and from the OPAC opac-detail.pl/.tt.
Comment 6 Olli-Antti Kivilahti 2013-10-29 14:56:55 UTC Comment hidden (obsolete)
Comment 7 Olli-Antti Kivilahti 2013-10-29 15:45:22 UTC Comment hidden (obsolete)
Comment 8 Olli-Antti Kivilahti 2013-10-29 17:17:36 UTC Comment hidden (obsolete)
Comment 9 Olli-Antti Kivilahti 2013-10-29 17:17:57 UTC Comment hidden (obsolete)
Comment 10 Olli-Antti Kivilahti 2013-10-29 18:05:27 UTC Comment hidden (obsolete)
Comment 11 Olli-Antti Kivilahti 2013-10-29 18:15:29 UTC Comment hidden (obsolete)
Comment 12 Olli-Antti Kivilahti 2013-10-29 18:16:41 UTC Comment hidden (obsolete)
Comment 13 Olli-Antti Kivilahti 2013-10-30 09:25:31 UTC
Created attachment 22567 [details]
Manual test plan for OPAC
Comment 14 Olli-Antti Kivilahti 2013-10-30 09:31:30 UTC
Created attachment 22568 [details]
Manual test plan for staff client
Comment 15 Olli-Antti Kivilahti 2013-10-30 09:34:37 UTC Comment hidden (obsolete)
Comment 16 Olli-Antti Kivilahti 2013-10-30 09:34:58 UTC Comment hidden (obsolete)
Comment 17 Olli-Antti Kivilahti 2013-10-30 09:41:30 UTC
Sponsored by the Joensuu Regional Library
Comment 18 Olli-Antti Kivilahti 2013-11-28 12:27:56 UTC
Created attachment 23209 [details] [review]
Bug 11157 - Placing a simple item-level hold for serials in OPAC.

For biblios marked as a serial or if the syspref:
-OPACShowPlaceItemLevelHold or
is enabled.
Adds a "Place hold"-link after each item in the detailed biblio view.

Uses the template parameter 'norequest', to disable the "Place hold"-link in
the sidebar opac-detail-sidebar.inc for serials.

Added a new parameter itemnumber to opac-reserve.pl/.tt.
This causes the reserving module to display only the desired item, preselect it
and hide unnecessary buttons.
Comment 19 Olli-Antti Kivilahti 2013-11-28 12:28:58 UTC
Created attachment 23210 [details] [review]
Bug 11157 - Placing a simple item-level hold for serials in staff client.

For biblios marked as a serial or if the syspref:
-ShowPlaceItemLevelHold
is enabled.
Adds a "Place hold"-link after each item in the detailed biblio view.

Added a new parameter itemnumber to reserve.pl/.tt.
This causes the reserving module to display only the desired item, preselect it
and hide unnecessary buttons.