Bug 15491 - Disable the ability to suspend holds related to certain itemtypes
Summary: Disable the ability to suspend holds related to certain itemtypes
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Hold requests (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-06 16:15 UTC by Nicole C. Engard
Modified: 2024-05-10 17:03 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicole C. Engard 2016-01-06 16:15:39 UTC
For example: If an item is an “ILL” the ability to suspend the hold should not be an option.

Work to be done:

1) Add new field suspend_hold_allowed to the itemtypes table, default of 1
2) Reveal this field though the itemtypes editor
3a ) Create a subroutine that will look up the field value for a given itemtype
3b) Create a subroutine that accepts a reserve and calls the previous sub to fine the value for this reserve ( based on itype/itemtype )
4) Add a test before suspending for each hold suspension request
5) Add a new TT plugin that uses this subroutine to disable suspend buttons in the opac
6) Add ability to suspend individual holds in the staff intranet
7) Add ability to disable suspending of individual holds in the staff intranet

The last two steps give librarians not only more flexibility for suspending holds, but give a visual indicator that a hold is not suspend-able.



Seeking Co-sponsors: http://devs.bywatersolutions.com/projects/disable-the-ability-to-suspend-holds-related-to-certain-itemtypes/
Comment 1 Benjamin Daeuber 2023-01-05 22:25:43 UTC
How much does this development overlap with https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22833 ?