Bug 34358

Summary: Generalise library selection filter for datatables
Product: Koha Reporter: Martin Renvoize (ashimema) <martin.renvoize>
Component: Staff interfaceAssignee: Jake Deery <jake.deery>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, jake.deery
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34352
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30113
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 33568    
Bug Blocks:    

Description Martin Renvoize (ashimema) 2023-07-24 14:30:46 UTC
We add a custom library select option to the patron search results datatable. We should really generalise this away from the patron-search includes so it could be used on other ajax driven datatables with the header row filters enabled.

We should support both 'data-filter="libraries"' at the table heading line definition and 'filter: "libraries"' in the datatable column settings definition level.
Comment 1 Martin Renvoize (ashimema) 2023-07-24 14:47:03 UTC
This would be good to add to bug 33568 to improve consistency between different uses of datatables.. having a consistent filter between patron search results and items tables would be great.