Bug 13298

Summary: Holds ratios report ignores ordered items
Product: Koha Reporter: Kyle M Hall <kyle>
Component: Hold requestsAssignee: Kyle M Hall <kyle>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: chris, gmcharlt, gwilliams, kyle.m.hall, mtj, tomascohen
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 13299    
Attachments: Bug 13298 - Holds ratios report ignores ordered items
Bug 13298 - Holds ratios report ignores ordered items

Description Kyle M Hall 2014-11-19 14:05:20 UTC
The holds ratio report ignores ordered items. This could cause a library to inadvertently order more copies of a title than they actually need. An option should be added to count ordered items ( i.e. any negative notforloan value ).
Comment 1 Kyle M Hall 2014-11-19 14:08:07 UTC Comment hidden (obsolete)
Comment 2 HB-NEKLS 2014-11-26 15:07:55 UTC
The holds ratio report ignores ordered items. This could cause a library
to inadvertently order more copies of a title than they actually need.
An option should be added to count ordered items ( i.e. any negative
notforloan value ).

Test Plan:
1) Apply this patch
2) Create a record with two items, one regular, one ordered.
3) Place 3 holds on the item
4) Run the reserve ratios report, by default you should see this record
5) Check the new 'include ordered' checkbox, rerun the report
6) Note that record is no longer displayed

Works as expected.
Comment 3 Jonathan Druart 2014-12-08 16:20:24 UTC
Created attachment 34183 [details] [review]
Bug 13298 - Holds ratios report ignores ordered items

The holds ratio report ignores ordered items. This could cause a library
to inadvertently order more copies of a title than they actually need.
An option should be added to count ordered items ( i.e. any negative
notforloan value ).

Test Plan:
1) Apply this patch
2) Create a record with two items, one regular, one ordered.
3) Place 3 holds on the item
4) Run the reserve ratios report, by default you should see this record
5) Check the new 'include ordered' checkbox, rerun the report
6) Note that record is no longer displayed

Signed-off-by: Heather Braum <hbraum@nekls.org>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Comment 4 Tomás Cohen Arazi 2015-02-09 18:57:50 UTC
Patch pushed to master.

Thanks Kyle!
Comment 5 Chris Cormack 2015-02-13 01:21:56 UTC
Pushed to 3.18.x will be in 3.18.4
Comment 6 Mason James 2015-02-26 04:32:36 UTC
Possible selection for 3.16.x
Comment 7 Mason James 2015-04-22 11:00:55 UTC
Pushed to 3.16.x, will be in 3.16.10
Comment 8 Kyle M Hall 2016-03-07 13:44:17 UTC
*** Bug 7887 has been marked as a duplicate of this bug. ***