Bug 36475 - members/summary-print.pl tables cannot be column configured
Summary: members/summary-print.pl tables cannot be column configured
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-01 15:43 UTC by Lucas Gass
Modified: 2024-04-02 21:02 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass 2024-04-01 15:43:06 UTC
To recreate:

1. Have a patron with some checkouts and some holds. 
2. Go to Table settings > Circulation > print_summary and mark some of the columns as hidden.
3. Go to the patron account and click Print > Print summary
4. The hidden columns still appear.
Comment 1 Katrin Fischer 2024-04-01 15:53:29 UTC
I recently ran into this in 22.11 as well, but thought it was me :)
Comment 2 Owen Leonard 2024-04-02 16:14:03 UTC
I can reproduce this in master. Note that if you have anything in IntranetSlipPrinterJS or the default print-then-close JS isn't executed.

The problem is that "window.print()" fires before DataTables has a chance to load and format the table.
Comment 3 Katrin Fischer 2024-04-02 21:02:46 UTC
(In reply to Owen Leonard from comment #2)
> I can reproduce this in master. Note that if you have anything in
> IntranetSlipPrinterJS or the default print-then-close JS isn't executed.
> 
> The problem is that "window.print()" fires before DataTables has a chance to
> load and format the table.

Excellent detective work!