Bugzilla – Attachment 164204 Details for
Bug 36476
Add holds priority column to patron summary print
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36476: Add holds priority column to members/summary-print.pl pending holds table
Bug-36476-Add-holds-priority-column-to-memberssumm.patch (text/plain), 2.61 KB, created by
Lucas Gass (lukeg)
on 2024-04-01 15:49:35 UTC
(
hide
)
Description:
Bug 36476: Add holds priority column to members/summary-print.pl pending holds table
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-04-01 15:49:35 UTC
Size:
2.61 KB
patch
obsolete
>From 610374923c8144c1c2cac4673f876ea89e75590a Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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. >--- > 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 cf4ee54190..e56d0f386f 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -1915,6 +1915,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 @@ > <th>Placed on</th> > <th>Expires on</th> > <th>Pick up location</th> >+ <th>Hold priority</th> > </tr> > </thead> > <tbody> >@@ -131,6 +132,7 @@ > <td>[% reserve.reservedate | $KohaDates %]</td> > <td>[% reserve.expirationdate | $KohaDates %]</td> > <td>[% reserve.waiting_at | html %]</td> >+ <td>[% reserve.priority | html %]</td> > </tr> > [% END %] > </tbody> >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.30.2
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 36476
:
164204
|
167350
|
167454