Bug 16049

Summary: Moving patron card batches actions into a drop down menu
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: Label/patron card printingAssignee: Aleisha Amohia <aleisha>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: Sponsored Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 16049: Moving patron card batches actions into a drop down menu
Bug 16049: Moving patron card batches actions into a drop down menu

Description Aleisha Amohia 2016-03-10 22:53:24 UTC
Move actions into a drop down menu and move select column to be first column.
Also make table a datatable so you can sort on batch ID and patron count
Comment 1 Aleisha Amohia 2016-03-11 00:03:17 UTC Comment hidden (obsolete)
Comment 2 Aleisha Amohia 2016-03-11 00:06:23 UTC
Created attachment 48982 [details] [review]
Bug 16049: Moving patron card batches actions into a drop down menu

This patch
- changes table to datatable
- renames 'Actions' column to nothing (&nbsp;)
- moves actions into drop down menus

Moving the Select column to the start proved to be more difficult than expected so if anyone else knows a smart way to do that, feel free to add to this patch

To test:
1) Go to Tools -> Patron Card Creator -> Manage card batches
2) Confirm that all actions 'Edit', 'Export', 'Delete') have been moved into a drop down menu and each still works as expected
3) Confirm you can sort on Batch ID and Patron Count but not the other two columns

Sponsored-by: Catalyst IT
Comment 3 Aleisha Amohia 2016-03-11 00:10:01 UTC
This patch changes the tables for ALL patron card options (layouts etc), most of which only have 2 options, edit and delete.

We decided on a few other bugs that tables with only two action options should be left as buttons rather than made into drop down menus, therefore we can disregard this patch and bug. Will set to RESOLVED