Bugzilla – Attachment 27919 Details for
Bug 11209
Multi transport types: same messages are sent for a patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11209: A message is duplicate if its content has been already sent
Bug-11209-A-message-is-duplicate-if-its-content-ha.patch (text/plain), 980 bytes, created by
Jonathan Druart
on 2014-05-02 14:56:49 UTC
(
hide
)
Description:
Bug 11209: A message is duplicate if its content has been already sent
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-05-02 14:56:49 UTC
Size:
980 bytes
patch
obsolete
>From ce89e8d9496fd8f96a7b5b8f2ba71b04f0592749 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 2 May 2014 16:54:51 +0200 >Subject: [PATCH] Bug 11209: A message is duplicate if its content has been > already sent > >If the template contains dynamic parts, the message won't be >considerated as duplicated. >--- > C4/Letters.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/C4/Letters.pm b/C4/Letters.pm >index 646ec55..d3ec777 100644 >--- a/C4/Letters.pm >+++ b/C4/Letters.pm >@@ -1034,7 +1034,8 @@ sub _is_duplicate { > AND letter_code = ? > AND CAST(time_queued AS date) = CAST(NOW() AS date) > AND status="sent" >- |, {}, $message->{message_transport_type}, $message->{borrowernumber}, $message->{letter_code} ); >+ AND content = ? >+ |, {}, $message->{message_transport_type}, $message->{borrowernumber}, $message->{letter_code}, $message->{content} ); > return $count; > } > >-- >1.7.10.4
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 11209
:
22752
|
22762
|
23255
|
27827
|
27828
|
27919
|
27937
|
27938
|
27939