Bugzilla – Attachment 192149 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
Bug-39722-follow-up-Remove-find.patch (text/plain), 883 bytes, created by
Baptiste Wojtkowski (bwoj)
on 2026-01-29 15:33:21 UTC
(
hide
)
Description:
Bug 39722: (follow-up) Remove find
Filename:
MIME Type:
Creator:
Baptiste Wojtkowski (bwoj)
Created:
2026-01-29 15:33:21 UTC
Size:
883 bytes
patch
obsolete
>From 595836f5941fbc3b2f370ea427ae15c51c924423 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 > >--- > 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