From 05ce32175a53edf65745d34b26dae7e80a6c23e5 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 12 Jan 2022 16:12:37 +0000 Subject: [PATCH] Bug 29760: Add patron category column to view_holdsqueue.tt To test: 1. Have some holds and build the holds queue. 2. Go to view_holdsqueue.tt, there is no patron category column 3. Apply patch 4. Look again, there should now be a column for 'Patron category' showing both the caterory name and the category code. 5. Make sure you can sort and filter by this new column 6. Go to table settings and make sure you can properly hide this column and all other columns in the Holds queue. Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Fridolin Somers --- admin/columns_settings.yml | 2 ++ .../intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 9b0982d264..394b5d346e 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -1206,6 +1206,8 @@ modules: columnname: barcode - columnname: patron + - + columnname: patroncategory - columnname: send_to - diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt index b3c73577b2..b38e0fff6a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt @@ -84,6 +84,7 @@ Enumeration Barcode Patron + Patron category Send to Date Notes @@ -129,6 +130,11 @@ + + + + + @@ -193,6 +199,7 @@

[% itemsloo.patron.phone | html %]

[% END %] + [% itemsloo.patron.category.description | html %] ([% itemsloo.patron.categorycode | html %]) [% Branches.GetName( itemsloo.pickbranch ) | html %] [% itemsloo.reservedate | $KohaDates %] [% itemsloo.notes | html %] -- 2.39.5