From 908ca318b725347a86c4bf779f4a312bed20160c Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 1 Apr 2024 15:46:38 +0000 Subject: [PATCH] Bug 36476: Add holds priority column to members/summary-print.pl pending holds table To test: APPLY PATCH and restart_all 1. Have a patron with and some holds and different priority. 2. Go to the patron account and click Print > Print summary 3. Notice the new holds priority column. Note: Table settings don't work on these tables. See Bug 36475. Signed-off-by: Sam Lau --- admin/columns_settings.yml | 2 ++ .../intranet-tmpl/prog/en/modules/members/moremember-print.tt | 2 ++ members/summary-print.pl | 1 + 3 files changed, 5 insertions(+) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 66586cef07..154b66ae17 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -1966,6 +1966,8 @@ modules: columnname: expires_on - columnname: pick up_location + - + columnname: priority print-summary-fines: columns: diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt index 8b7e2a882e..6d65c8e384 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt @@ -121,6 +121,7 @@ Placed on Expires on Pick up location + Hold priority @@ -131,6 +132,7 @@ [% reserve.reservedate | $KohaDates %] [% reserve.expirationdate | $KohaDates %] [% reserve.waiting_at | html %] + [% reserve.priority | html %] [% END %] diff --git a/members/summary-print.pl b/members/summary-print.pl index 6c6ed923ec..1aa268743e 100755 --- a/members/summary-print.pl +++ b/members/summary-print.pl @@ -118,6 +118,7 @@ sub build_reserve_data { reservedate => $reserve->reservedate(), expirationdate => $reserve->expirationdate(), waiting_at => $reserve->branch()->branchname(), + priority => $reserve->priority, }; push( @{$return}, $row ); -- 2.39.2