From 4011d5adfaba4ba185f57522ef56822d952eb8d8 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. --- 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 56bec9ea04..da43a5dbb5 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.20.1