Bug 5285

Summary: Let the user choose columns to show batch modification summary table
Product: Koha Reporter: Owen Leonard <oleonard>
Component: ToolsAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: enhancement    
Priority: PATCH-Sent (DO NOT USE) CC: chris, nengard
Version: Main   
Hardware: All   
OS: All   
URL: /cgi-bin/koha/tools/batchMod.pl
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Screenshot of proposed page display
Proposed fix
checkboxes on FF on Mac
Follow-up fix including missing CSS

Description Owen Leonard 2010-10-06 19:12:16 UTC
Created attachment 2671 [details]
Screenshot of proposed page display

Currently, after submitting a set of barcodes or item numbers the user is presented with a large table showing all the fields in the item record. This table stretches off the page and requires tedious scrolling.

I propose a modification so that the user can select which columns appear in that table. That way the user can choose to show only the columns which are relevant. Table columns would be hidden with javascript and the choices would be stored in a cookie so the page would remember the user's choices from session to session.
Comment 1 Owen Leonard 2010-12-07 17:24:46 UTC
Created attachment 2816 [details] [review]
Proposed fix

Also adds title/author information to output of batch deletions.

Unfortunately this feature doesn't work in IE (tested with version 8) so the column selections are hidden from that browser.
Comment 2 Chris Cormack 2010-12-12 21:11:34 UTC
Pushed to master please test
Comment 3 Nicole C. Engard 2010-12-16 15:14:40 UTC
Created attachment 2865 [details]
checkboxes on FF on Mac

It works, but does not look like the screenshot when in FF on Mac. In fact it looks very mess on my screen and pretty in the original screenshot.
Comment 4 Owen Leonard 2010-12-16 15:30:02 UTC
> It works, but does not look like the screenshot when in FF on Mac. In fact it
> looks very mess on my screen and pretty in the original screenshot.

Did you shift-reload to make sure your browser wasn't using a cached stylesheet?
Comment 5 Owen Leonard 2010-12-17 16:13:42 UTC
Created attachment 2876 [details] [review]
Follow-up fix including missing CSS

Missed adding this CSS file in my original patch.
Comment 6 Nicole C. Engard 2010-12-17 16:25:12 UTC
Follow up patch signed off on.
Comment 7 Chris Cormack 2010-12-19 08:20:51 UTC
Follow up pushed, please test