Bugzilla – Attachment 192237 Details for
Bug 39722
Remove GetSuggestionFromBiblionumber from C4/Suggestions.pm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39722: (follow-up) Remove find
0a1b0ae.patch (text/plain), 958 bytes, created by
Jonathan Druart
on 2026-01-30 14:10:02 UTC
(
hide
)
Description:
Bug 39722: (follow-up) Remove find
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-30 14:10:02 UTC
Size:
958 bytes
patch
obsolete
>From 0a1b0aeb4917214c6ca81e0c600f89a5a3c6d6f9 Mon Sep 17 00:00:00 2001 >From: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com> >Date: Thu, 29 Jan 2026 15:32:29 +0000 >Subject: [PATCH] Bug 39722: (follow-up) Remove find > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > C4/Acquisition.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm >index d6eeddb2787..be67162a9cc 100644 >--- a/C4/Acquisition.pm >+++ b/C4/Acquisition.pm >@@ -1417,7 +1417,7 @@ sub ModReceiveOrder { > $order->{invoice_unitprice} ||= $order->{unitprice}; > $order->{invoice_currency} ||= Koha::Acquisition::Currencies->get_active->currency; > >- my $suggestion = Koha::Suggestions->find( { biblionumber => $biblionumber } ); >+ my $suggestion = Koha::Suggestions->search( { biblionumber => $biblionumber } )->single; > if ($suggestion) { > ModSuggestion( > { >-- >2.43.0 >
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 39722
:
181403
|
181418
|
188656
|
190942
|
191925
|
191935
|
192149
|
192236
| 192237