]> git.koha-community.org Git - koha.git/commit
Bug 13452: 'Average loan time' report to obey item-level_itypes preference
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Mon, 8 Jun 2015 23:04:07 +0000 (01:04 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 27 Jun 2017 13:15:20 +0000 (15:15 +0200)
commit9b8023044a979cc24c92493431e9e9d33c52c6a6
tree5098dd7e573a90271917f20a6c48c872bdc884c7
parent279b689a2bf58cdf314f9534971b008879e0f7cc
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) <indradg@gmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit d0bf036c1828bbbd37a022f8449e217e8e269475)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt
reports/issues_avg_stats.pl