Bugzilla – Attachment 189314 Details for
Bug 41212
members/maninvoice.pl debit_types should sort by description not code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41212: Sort debit_types for manual invoice by description
Bug-41212-Sort-debittypes-for-manual-invoice-by-de.patch (text/plain), 1.08 KB, created by
Owen Leonard
on 2025-11-07 12:52:42 UTC
(
hide
)
Description:
Bug 41212: Sort debit_types for manual invoice by description
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-11-07 12:52:42 UTC
Size:
1.08 KB
patch
obsolete
>From 9663d43a1a5734e57dacc551824c74afc1124dbc Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 6 Nov 2025 21:43:47 +0000 >Subject: [PATCH] Bug 41212: Sort debit_types for manual invoice by description > >To test: >1. Add some debit types that can be manually invoiced. >2. Go to members/maninvoice.pl?borrowernumber=X where X is your > borrowernumber >3. In the type dropdown see that the entries are sorted by code not > description. >4. APPLY patch and restart_all >5. Try again, now it should sort by code. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > members/maninvoice.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/maninvoice.pl b/members/maninvoice.pl >index 6f54c56d98a..1e898b728cb 100755 >--- a/members/maninvoice.pl >+++ b/members/maninvoice.pl >@@ -203,7 +203,7 @@ if ( $op eq 'cud-add' ) { > > my $debit_types = Koha::Account::DebitTypes->search_with_library_limits( > { can_be_invoiced => 1, archived => 0 }, >- {}, $library_id >+ { order_by => { -asc => 'description' } }, $library_id > ); > > $template->param( >-- >2.39.5
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 41212
:
189232
|
189233
| 189314