]> 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)
committerMason James <mtj@kohaaloha.com>
Sun, 30 Jul 2017 13:02:04 +0000 (01:02 +1200)
commit57c32368b45fddf8152793f1070645da74ae9d02
tree2f1fb50894c721997117e2c418ac58c39accbb36
parent107771dd4a667c70c10460081e5b19353ba76283
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: Mason James <mtj@kohaaloha.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt
reports/issues_avg_stats.pl