From: Lucas Gass Date: Wed, 12 Jan 2022 16:12:37 +0000 (+0000) Subject: Bug 29760: Add patron category column to view_holdsqueue.tt X-Git-Tag: v22.05.00~1076 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=05ce32175a53edf65745d34b26dae7e80a6c23e5;p=koha-ffzg.git 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 --- 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 @@ -1207,6 +1207,8 @@ modules: - columnname: patron - + columnname: patroncategory + - columnname: send_to - columnname: date 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 %]