Bug 21852: Add more columns and column configuration to overdues report
authorOwen Leonard <oleonard@myacpl.org>
Fri, 16 Nov 2018 14:51:48 +0000 (14:51 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 17 Sep 2019 13:51:00 +0000 (14:51 +0100)
commit44049ad57e1928f2870abed15e4659f8357c2f19
treed9def1296aab7f1fe27f284f579670853288978e
parente7a84dacfec76325819e39c5ef0dacf5ff1ffdea
Bug 21852: Add more columns and column configuration to overdues report

This patch adds some new columns to the overdue report: Patron category,
item home library, item holding library, item type. Adding these columns
makes available columns better match the available filter fields in the
sidebar form.

Column configuration is added to this DataTable, with the new columns
defined as hidden by default in order to preserve current functionality.

This patch also fixes a bug where the home and holding branch template
variable names didn't match what was being used in the template for
pre-selecting the searched-for value in the sidebar filter menu.

To test, apply the patch and go to Circulation -> Overdues.

 - The list of overdues should look correct, with no new columns shown.
 - Test the column visibility button, showing the columns which are
   hidden by default. Confirm that the data in these columns displays
   correctly.
 - Update the default configuration for this table in Administration
   -> Configure columns. Confirm that your changes are applied to the
   overdues report.

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
admin/columns_settings.yml
circ/overdue.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt