Bug 25471

Summary: Add DataTables to MARC subfield structure admin page for bibliographic frameworks
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: Pushed to stable --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: aleisha, black23, caroline.cyr-la-rose, dcook, jonathan.druart+koha, lucas
Version: master   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25832
Change sponsored?: --- Patch complexity: Small patch
Text to go in the release notes:
Version(s) released in:
20.11.00, 20.05.02
Attachments: Bug 25471: Add DataTables to MARC subfield structure admin page
Bug 25471: Add DataTables to MARC subfield structure admin page
Bug 25471: Add DataTables to MARC subfield structure admin page

Description Owen Leonard 2020-05-12 21:22:10 UTC
I think it would be useful to have table filtering and sorting on the table of MARC subfields (marc_subfields_structure.tt).
Comment 1 Owen Leonard 2020-05-13 00:27:03 UTC
Created attachment 104802 [details] [review]
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.
Comment 2 Lucas Gass 2020-05-13 20:46:12 UTC
Created attachment 104853 [details] [review]
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>
Comment 3 Katrin Fischer 2020-06-21 14:39:26 UTC
Created attachment 106123 [details] [review]
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>
Comment 4 Katrin Fischer 2020-06-21 14:41:20 UTC
Owen, I really like this. May I ask for the same change for authority types? Filed as bug 25832.
Comment 5 Jonathan Druart 2020-06-24 13:06:39 UTC
Awesome, thanks Owen!
Comment 6 Jonathan Druart 2020-06-24 13:32:38 UTC
Pushed to master for 20.11, thanks to everybody involved!
Comment 7 Lucas Gass 2020-07-10 16:39:50 UTC
Choosing to backport enhancement

backported to 20.05.x for 20.05.02
Comment 8 Aleisha Amohia 2020-07-13 02:43:42 UTC
enhancement, not backporting to 19.11.x