Bugzilla – Attachment 167454 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.73 KB, created by
Matt Blenkinsop
on 2024-06-05 15:24:20 UTC
(
hide
)
Description:
Bug 36476: Add holds priority column to members/summary-print.pl pending holds table
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2024-06-05 15:24:20 UTC
Size:
2.73 KB
patch
obsolete
>From 60b2daa77878a0a4c8ac5c570f24426b6daffb20 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. >Signed-off-by: Sam Lau <samalau@gmail.com> >Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >--- > 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 66586cef07..154b66ae17 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -1966,6 +1966,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.39.3 (Apple Git-146)
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