Bugzilla – Attachment 167220 Details for
Bug 36974
Sort summary-print by ascending due date
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36974: Sort summary print by ascending due date
Bug-36974-Sort-summary-print-by-ascending-due-date.patch (text/plain), 1.15 KB, created by
Thibaud Guillot (thibaud_g)
on 2024-05-28 12:23:12 UTC
(
hide
)
Description:
Bug 36974: Sort summary print by ascending due date
Filename:
MIME Type:
Creator:
Thibaud Guillot (thibaud_g)
Created:
2024-05-28 12:23:12 UTC
Size:
1.15 KB
patch
obsolete
>From 72af71569c49d0356d7bb22c1105589b13c9903e Mon Sep 17 00:00:00 2001 >From: Thibaud Guillot <thibaud.guillot@biblibre.com> >Date: Tue, 28 May 2024 14:18:42 +0200 >Subject: [PATCH] Bug 36974: Sort summary print by ascending due date > >Test plan: >1) Choose a patron with some checkouts >2) On print menu choose "Print summary" >3) Normally the list is sorted on descending due date.. and if the date > is the same for multiple items, on issue_id (from database). >4) Apply this patch >5) Now the sort on due date is ascending to show the earliest due date on the first line. > >Sponsored by BibLibre >--- > members/summary-print.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/summary-print.pl b/members/summary-print.pl >index 6c6ed923ec3..7d97cca1ca6 100755 >--- a/members/summary-print.pl >+++ b/members/summary-print.pl >@@ -77,7 +77,7 @@ sub build_issue_data { > return unless $patron; > > my $pending_checkouts = $patron->pending_checkouts->search( {}, >- { order_by => [ { -desc => 'date_due' }, { -asc => 'issue_id' } ] } ); >+ { order_by => [ { -asc => 'date_due' }, { -asc => 'issue_id' } ] } ); > > my @checkouts; > >-- >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 36974
: 167220