Bugzilla – Attachment 184322 Details for
Bug 38102
Checkout history in OPAC displaying more than 50 items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38102: Fix default sort order
Bug-38102-Fix-default-sort-order.patch (text/plain), 1.02 KB, created by
Martin Renvoize (ashimema)
on 2025-07-18 10:57:35 UTC
(
hide
)
Description:
Bug 38102: Fix default sort order
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-07-18 10:57:35 UTC
Size:
1.02 KB
patch
obsolete
>From 45911b3854b96ead0bcdfaae52217e6feb0d868a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 10 Jul 2025 09:53:22 +0200 >Subject: [PATCH] Bug 38102: Fix default sort order > >DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: >DBD::mysql::st execute failed: Unknown column 'date_due desc' in 'order >clause' at /kohadevbox/koha/Koha/Objects.pm line 401 > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > opac/opac-readingrecord.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-readingrecord.pl b/opac/opac-readingrecord.pl >index 5243872c734..ffd830711c6 100755 >--- a/opac/opac-readingrecord.pl >+++ b/opac/opac-readingrecord.pl >@@ -57,7 +57,7 @@ if ( $order eq 'title' ) { > } elsif ( $order eq 'author' ) { > $template->param( orderbyauthor => 1 ); > } else { >- $order = "date_due desc"; >+ $order = { -desc => "date_due" }; > $template->param( orderbydate => 1 ); > } > >-- >2.50.1
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 38102
:
183921
|
183922
|
184206
|
184207
|
184321
| 184322