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.
I recently ran into this in 22.11 as well, but thought it was me :)
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.
(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!