Bug 20814: Display issue with 'Saved reports' tabs when memcached is off
authorOwen Leonard <oleonard@myacpl.org>
Thu, 24 May 2018 18:51:03 +0000 (18:51 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Sun, 15 Jul 2018 20:36:07 +0000 (21:36 +0100)
commitfe02563aa6c15939b273e9249187424a213cdb03
treef208f0d4fbc48dc3dc8a99f0a4bc28b3d0ed81c8
parenta277da701d8250907afa5ed69447236a78f65ad8
Bug 20814: Display issue with 'Saved reports' tabs when memcached is off

This patch changes the configuration of the saved reports table so that
columns which were previously excluded from the table altogether are now
hidden. This prevents a JavaScript error when DataTables tries to
reference a missing column.

To test, apply the patch and go to Reports -> Use saved. You should have
at least one report category configured and assigned to reports in order
for the tabs display to be visible.

Test the table of saved reports under a variety of these circumstances:

 - memcached disabled or enabled
 - reports exist or don't exist which require update from the old
   marcxml syntax
 - cache_expiry and/or update columns are configured in Administration
   -> Columns settings to be shown or hidden

The report category tabs and the table should render correctly under all
circumstances.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt