Bug 13298 - Holds ratios report ignores ordered items
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 19 Nov 2014 13:16:17 +0000 (08:16 -0500)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 9 Feb 2015 18:24:04 +0000 (15:24 -0300)
commitd8e5f0cd9d5926fb3b72e47852eac6b6c4f59be9
treeba3cf5dc997e1cf4f157fc7474ae3ffff3c53659
parentddf909ae24df5a3185370f5c4916135bb94b67ae
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>
circ/reserveratios.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt