From 1ad22d8d6f8b67575cb57fa6bbae2325b9f75185 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Thu, 10 Mar 2016 23:59:18 +0000 Subject: [PATCH] Bug 16049: Moving patron card batches actions into a drop down menu This patch - changes table to datatable - renames 'Actions' column to nothing ( ) - 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 --- patroncards/manage.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patroncards/manage.pl b/patroncards/manage.pl index 9190cd3..e1c4915 100755 --- a/patroncards/manage.pl +++ b/patroncards/manage.pl @@ -71,7 +71,7 @@ my $display_columns = { layout => [ # db column => {col label ], batch => [ {batch_id => {label => 'Batch ID', link_field => 0}}, {_item_count => {label => 'Patron Count', link_field => 0}}, - {_action => {label => 'Actions', link_field => 0}}, + {_action => {label => ' ', link_field => 0}}, {select => {label => 'Select', value => 'batch_id'}}, ], }; -- 1.7.10.4