]> git.koha-community.org Git - koha.git/commit
Bug 25471: Add DataTables to MARC subfield structure admin page
authorOwen Leonard <oleonard@myacpl.org>
Tue, 12 May 2020 21:27:05 +0000 (21:27 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 10 Jul 2020 16:37:37 +0000 (16:37 +0000)
commite68d2e9079b498d214441f8d22119d873c8b4e1e
tree454cb4f3d7323cc968445f725cf2a0bb0c8bcd7e
parent8d1494ba5c84cab6361f355b1c84c4ac1456a697
Bug 25471: Add DataTables to MARC subfield structure admin page

This patch adds DataTables sorting and filtering to the table of
subfields shown on the MARC subfield structure administration page.

To test, apply the patch and go to Administration -> MARC bibliographic
framework.

 - From the 'Actions' menu, select 'MARC structure.'
 - From the 'Actions' menu, select the 'View subfields' link for a tag
   with multiple subfields.
 - On the page showing all the subfields for the tag, confirm that the
   table is sorted by default by subfield and that sorting works
   correctly.
 - Confirm that the search form at the top of the table works.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 7ff774509d8c3fc4747857dcfeee7a2cf7557921)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt
koha-tmpl/intranet-tmpl/prog/js/marc_subfields_structure.js