Bug 13298 - Holds ratios report ignores ordered items
commit5a310c03ddfff8880c7d607750bc8f52e1f3e5bc
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 19 Nov 2014 13:16:17 +0000 (19 08:16 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Fri, 13 Feb 2015 01:21:34 +0000 (13 14:21 +1300)
tree09ee17099221731b454ac966e893d742bc18345a
parent04bb67fa41457be733d85d9820c84e8680a5a0a8
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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit d8e5f0cd9d5926fb3b72e47852eac6b6c4f59be9)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
circ/reserveratios.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt