From 31229bc2d83a9b78887a9f8ddac3abb96b4e77cf Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Tue, 9 Jun 2015 01:04:07 +0200 Subject: [PATCH] [SIGNED-OFF] Bug 13452: 'Average loan time' report to obey item-level_itypes preference Fixes the 'Average loan time' report so that the system preference setting item-level_itypes is taken into account. Before the patch, the report was always using the biblio level itemtype. With the patch, it will depend on the pref setting. To test: - Run various reports, compare results with both possible pref settings - Try limiting your search in various ways, especially on a specific itemtype - Make sure you switch checkboxes in testing, using itemtype as the row or as the column Notes: - Filtering on a specific itemtype on master was not working if the itemtype was chosen as column. The patch should fix that. - Fixes headings and breadcrumbs so that the name of the report is the same as on the reports start page Signed-off-by: Indranil Das Gupta (L2C2 Technologies) Signed-off-by: Josef Moravec --- .../prog/en/modules/reports/issues_avg_stats.tt | 4 +-- reports/issues_avg_stats.pl | 33 ++++++++++------------ 2 files changed, 17 insertions(+), 20 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt index 7288508..ae20291 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt @@ -1,6 +1,6 @@ [% USE Branches %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Reports › Average checkout period +Koha › Reports › Average loan time [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %]