Bug 21785: Add columns configuration to hold ratios report
authorOwen Leonard <oleonard@myacpl.org>
Wed, 7 Nov 2018 19:01:16 +0000 (19:01 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 11 Jan 2019 13:27:00 +0000 (13:27 +0000)
commitd73b7a3890331076b926434db8fa60ef922e35d9
treeb0ca9410985be788284b3e95fea7a23014358bfd
parent1cf849eee0626ff2de4f193e5fb83a05671f6280
Bug 21785: Add columns configuration to hold ratios report

This patch adds column configuration to the hold ratios report
DataTable.

This patch also amends some JavaScript and markup related to some
obsolete jQuery syntax: A hover function was being used to change an
element's style on hover. It has been removed in favor of using a link
and CSS>

To test, apply the patch and view the hold ratios report using a ratio
which will return multiple results. Confirm that DataTables controls
work correctly: Paging, search, column visibility, export and print.

Click a number in the "hold ratio" column of the table and verify that
it populates the "hold ratio" field in the "refine results" form in the
sidebar.

Test setting default column configurations in Administration -> Columns
settings.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
admin/columns_settings.yml
koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt