Bugzilla – Attachment 183922 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), 930 bytes, created by
Jonathan Druart
on 2025-07-10 08:02:13 UTC
(
hide
)
Description:
Bug 38102: Fix default sort order
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-07-10 08:02:13 UTC
Size:
930 bytes
patch
obsolete
>From aeb4877c80edd81e5428ca9a580231c0b8ef144d 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 >--- > 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.34.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