Bugzilla – Attachment 129414 Details for
Bug 29760
Show patron category in Holds queue
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29760: Add patron category column to view_holdsqueue.tt
Bug-29760-Add-patron-category-column-to-viewholdsq.patch (text/plain), 2.91 KB, created by
Owen Leonard
on 2022-01-13 15:41:12 UTC
(
hide
)
Description:
Bug 29760: Add patron category column to view_holdsqueue.tt
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2022-01-13 15:41:12 UTC
Size:
2.91 KB
patch
obsolete
>From 5429882ef60ecdeaa7d2c40730f57b9dca3d953a Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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 <oleonard@myacpl.org> >--- > 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 @@ > <th class="hq-enumchron">Enumeration</th> > <th class="hq-barcode">Barcode</th> > <th class="hq-patron">Patron</th> >+ <th class="hq-patroncategory">Patron category</th> > <th class="hq-sendto">Send to</th> > <th class="hq-date">Date</th> > <th class="hq-notes">Notes</th> >@@ -129,6 +130,11 @@ > <input type="text" placeholder="Patron"> > </span> > </td> >+ <td class="hq-patroncategory"> >+ <span class="filter_column filter_text"> >+ <input type="text" placeholder="Patron category"> >+ </span> >+ </td> > <td class="hq-sendto"> > <span class="filter_column filter_text"> > <input type="text" placeholder="Send to"> >@@ -193,6 +199,7 @@ > <p>[% itemsloo.patron.phone | html %]</p> > [% END %] > </td> >+ <td class="hq-patron-category">[% itemsloo.patron.category.description | html %] ([% itemsloo.patron.categorycode | html %])</td> > <td class="hq-sendto">[% Branches.GetName( itemsloo.pickbranch ) | html %]</td> > <td class="hq-date" data-order="[% itemsloo.reservedate | html %]">[% itemsloo.reservedate | $KohaDates %]</td> > <td class="hq-notes">[% itemsloo.notes | html %]</td> >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29760
:
129047
|
129354
|
129414
|
130541
|
130619