]> git.koha-community.org Git - koha.git/commit
Bug 15672 [Revised] Show descriptions instead of codes on the hold ratios report
authorOwen Leonard <oleonard@myacpl.org>
Wed, 16 Mar 2016 14:00:40 +0000 (10:00 -0400)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Wed, 23 Mar 2016 21:07:04 +0000 (21:07 +0000)
commit6ecf823300ae0be6dd210b998837a07e11dbd0dc
tree94d48ad1dc595427cb3e9d243a9e12cf031b0494
parentcf956497a253129ac5a86a9c1cec0331cbcb9f0e
 Bug 15672 [Revised] Show descriptions instead of codes on the hold ratios report

This patch revises the hold ratios report so that it uses template
plugins to display descriptions instead of codes for item holding
branch, item home branch, item type, and shelving location.

To test you should have multiple items on the hold ratio report (set the
ratio to a small number to increase the number of results). It should
include one or more items which have a shelving location set.

View the hold ratios report and confirm that library names, shelving
location descriptions, and item type descriptions are shown instead of
codes.

This revised patch steals from Bug 15560 to enable the correct display
of multiple home libraries, holding libraries, shelving locations, item
types, and call numbers. To properly test you should have records in
your report which have multiple values for each of those fields.

Followed test plan, works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
circ/reserveratios.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt