Bug 15357: Display existing holds even if no items exist
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 14 Dec 2015 09:32:50 +0000 (09:32 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 29 Jan 2016 11:17:47 +0000 (12:17 +0100)
commit2903bc2909180d3f021f7caf2c1181b2a00c5b2f
treee19fc4b23e46389e61cec64801e7bcd4357c8b70
parent80c042cf41932e3c6d9d7d70365e9fd26538f80e
 Bug 15357: Display existing holds even if no items exist

If all the items have been deleted for a record and holds exist, the
holds are not displayed.
You are not able to delete the items from the record detail page, but
you can from the items page.

Test plan:
1 - Place 1 or more title level holds on a record.
2 - Delete each item individually.
3 - Note that you see the number of holds on the record details page
With this patch, that holds are accessible via the holds tab.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 0e4b703d239551207ca72c5b201475418c7cfd9c)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt