Bugzilla – Attachment 155238 Details for
Bug 34639
Item shown in transit on detail.pl even if marked as arrived or cancelled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34639: Restore order_by
Bug-34639-Restore-orderby.patch (text/plain), 896 bytes, created by
Aleisha Amohia
on 2023-09-05 20:46:37 UTC
(
hide
)
Description:
Bug 34639: Restore order_by
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2023-09-05 20:46:37 UTC
Size:
896 bytes
patch
obsolete
>From 5bf829723dccc6bf2a1d3c382ed8a65b1e23c7da Mon Sep 17 00:00:00 2001 >From: Lari Taskula <lari.taskula@hypernova.fi> >Date: Tue, 29 Aug 2023 19:14:56 +0000 >Subject: [PATCH] Bug 34639: Restore order_by > >To test: >1. prove t/db_dependent/Koha/Item.t >2. Observe success > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com> >--- > Koha/Schema/Result/Item.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm >index 25dd46c36b2..3778fba936b 100644 >--- a/Koha/Schema/Result/Item.pm >+++ b/Koha/Schema/Result/Item.pm >@@ -984,6 +984,7 @@ __PACKAGE__->has_many( > "$args->{foreign_alias}.datecancelled" => undef, > }; > }, >+ { order_by => [ { -desc => 'datesent' }, { -asc => 'daterequested' } ] } > ); > > # Relationship with bundled items >-- >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 34639
:
154895
|
154896
|
154900
|
154917
|
154918
|
154919
|
154939
|
154940
|
154941
|
155127
|
155128
|
155129
|
155211
|
155212
|
155213
|
155236
|
155237
| 155238