Partial fix for Bug 2655, "Items waiting on the hold shelf display as 'Available...
authorOwen Leonard <oleonard@myacpl.org>
Mon, 6 Apr 2009 13:50:51 +0000 (08:50 -0500)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 26 May 2009 19:15:08 +0000 (21:15 +0200)
commitb7ad6f023a6353d0842efd332f7c5d1e433f9784
tree0aeb6ea17ba0235d6b1262300f2d27f98b6f985a
parentccf0f97eeba64c2024414008fdf11834b1b53a1d
Partial fix for Bug 2655, "Items waiting on the hold shelf display as 'Available' in OPAC"

GetItemsInfo() returns a count_reserves variable which may be "Waiting" or "Reserved," but opac-detail.pl didn't include a check for these possibilities. This patch has opac-detail.tmpl output "On hold" in either case.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
opac/opac-detail.pl