Bugzilla – Attachment 165577 Details for
Bug 36122
NEW_SUGGESTION is sent for every modification to the suggestion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36122: NEW_SUGGESTION is sent for every modification to the suggestion
Bug-36122-NEWSUGGESTION-is-sent-for-every-modifica.patch (text/plain), 880 bytes, created by
Roman Dolny
on 2024-04-25 18:52:14 UTC
(
hide
)
Description:
Bug 36122: NEW_SUGGESTION is sent for every modification to the suggestion
Filename:
MIME Type:
Creator:
Roman Dolny
Created:
2024-04-25 18:52:14 UTC
Size:
880 bytes
patch
obsolete
>From 8f1e230e284cff9e32600ad590be011ec2d72274 Mon Sep 17 00:00:00 2001 >From: Matthias Le Gac <matthias.le-gac@inlibro.com> >Date: Thu, 7 Mar 2024 16:55:37 -0500 >Subject: [PATCH] Bug 36122: NEW_SUGGESTION is sent for every modification to > the suggestion > >Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> >--- > Koha/Suggestion.pm | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/Koha/Suggestion.pm b/Koha/Suggestion.pm >index f406b71f0a..b14c1123ca 100644 >--- a/Koha/Suggestion.pm >+++ b/Koha/Suggestion.pm >@@ -70,8 +70,7 @@ sub store { > my $emailpurchasesuggestions = C4::Context->preference("EmailPurchaseSuggestions"); > > my $result = $self->SUPER::store(); >- >- if( $emailpurchasesuggestions ){ >+ if ( $emailpurchasesuggestions && $self->STATUS eq 'ASKED' ) { > > if ( > my $letter = C4::Letters::GetPreparedLetter( >-- >2.39.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 36122
:
162962
|
162989
|
164481
|
165577
|
165578
|
165579
|
166051
|
166052
|
166053