Bugzilla – Attachment 147481 Details for
Bug 32674
When placing a hold in OPAC page explodes into error 500
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32674: Fix placing a hold at the OPAC for serials
Bug-32674-Fix-placing-a-hold-at-the-OPAC-for-serials.patch (text/plain), 1.20 KB, created by
Janusz Kaczmarek
on 2023-02-28 09:59:39 UTC
(
hide
)
Description:
Bug 32674: Fix placing a hold at the OPAC for serials
Filename:
MIME Type:
Creator:
Janusz Kaczmarek
Created:
2023-02-28 09:59:39 UTC
Size:
1.20 KB
patch
obsolete
>From 3d90027d228fb5b65a3413f6191a02a2f80ce81f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 28 Feb 2023 09:13:19 +0100 >Subject: [PATCH] Bug 32674: Fix placing a hold at the OPAC for serials > >Placing a hold at the OPAC explodes with a 500 when the record is a >serial >DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Column 'biblionumber' in where clause is ambiguous at /usr/share/koha/lib/Koha/Objects.pm line 394 > >Test plan: >Create a serial from a given biblio >Place a hold on this record at the OPAC > >Signed-off-by: Janusz Kaczmarek <januszop@gmail.com> >--- > opac/opac-reserve.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl >index 85f2659a87..07440efa6a 100755 >--- a/opac/opac-reserve.pl >+++ b/opac/opac-reserve.pl >@@ -335,7 +335,7 @@ foreach my $biblioNumber (@biblionumbers) { > > my $items = Koha::Items->search_ordered( > [ >- biblionumber => $biblioNumber, >+ 'me.biblionumber' => $biblioNumber, > 'me.itemnumber' => { > -in => [ > $biblio->host_items->get_column('itemnumber') >-- >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 32674
:
147479
|
147481
|
147759
|
147760