]> git.koha-community.org Git - koha.git/commit
Bug 26262: (follow-up) Fix course details page, default configuration
authorOwen Leonard <oleonard@myacpl.org>
Mon, 31 Aug 2020 12:33:19 +0000 (12:33 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 18 Sep 2020 09:08:35 +0000 (11:08 +0200)
commit7d78cae2841ee4f60325cb7f31cecce27cab01e4
tree4d1826916d7e1be64bbe34765e2ecc4139308ca1
parent1bc7e5a645381ffc30f320624a705869a202c029
Bug 26262: (follow-up) Fix course details page, default configuration

Bug 25287 changed the default DataTable configuration in the OPAC so
that tables are paginated by default. This is inconsistent with the way
we currently use DataTables in the OPAC, and the change was probably
unintentional. This patch returns the default pagination configuration
to what it was before: Off.

The patch also updates opac-course-details.tt with the same DOM
configuration as opac-course-reserves.tt.

To test, apply the patch and view the list of course reserves and the
list of titles attached to a course. In both cases there should be no
pagination controls, and the tables should show all results.

Signed-off-by: Alexis Ripetti <alexis.ripetti@inLibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt
koha-tmpl/opac-tmpl/bootstrap/js/datatables.js