Skip to content

Commit

Permalink
Bug 30837 - Fix table width on 'Print summary'
Browse files Browse the repository at this point in the history
To reproduce:
- Make sure you have a patron with at least one checkout,
  one hold and one fine
- On the detail page for that patron, go to Print > Print
  summary
- Observe the tables are too wide to fit on a printed page

To test:
- Apply this patch
- Repeat the steps above
- Observe the table now fits on the page

Signed-off-by: Martin Renvoize <[email protected]>
Signed-off-by: Tomas Cohen Arazi <[email protected]>
  • Loading branch information
MagnusEnger authored and tomascohen committed May 31, 2022
1 parent f08951f commit 4f4bfc8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@
KohaTable("print-summary-checkouts", {
"dom": "Bt",
"paging": false,
"bAutoWidth": false,
initComplete: function( settings) {
moveColumnsButton( settings.nTable.id );
}
Expand All @@ -234,6 +235,7 @@
KohaTable("print-summary-holds", {
"dom": "Bt",
"paging": false,
"bAutoWidth": false,
initComplete: function( settings) {
moveColumnsButton( settings.nTable.id );
}
Expand All @@ -242,6 +244,7 @@
KohaTable("print-summary-fines", {
"dom": "Bt",
"paging": false,
"bAutoWidth": false,
initComplete: function( settings) {
moveColumnsButton( settings.nTable.id );
}
Expand Down

0 comments on commit 4f4bfc8

Please sign in to comment.