[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 2651b04dec3f0ef42e8a125cdae5a1b44691af5c
Ivan
ivan at 420.am
Thu Jul 5 23:48:45 PDT 2012
The branch, FREESIDE_2_3_BRANCH has been updated
via 2651b04dec3f0ef42e8a125cdae5a1b44691af5c (commit)
from fad4bbd1265aebe241a53406ad655746ae8589ae (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2651b04dec3f0ef42e8a125cdae5a1b44691af5c
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Jul 5 23:48:39 2012 -0700
fix phantom customers showing up on tickets, RT#13952
diff --git a/rt/lib/RT/Ticket_Overlay.pm b/rt/lib/RT/Ticket_Overlay.pm
index 2d23c23..bb7cf90 100644
--- a/rt/lib/RT/Ticket_Overlay.pm
+++ b/rt/lib/RT/Ticket_Overlay.pm
@@ -2326,16 +2326,18 @@ sub _Links {
}
# Maybe this ticket is a merge ticket
- my $limit_on = 'Local'. $field;
+ #my $limit_on = 'Local'. $field;
# at least to myself
$links->Limit(
- FIELD => $limit_on,
- VALUE => $self->id,
+ FIELD => $field, #$limit_on,
+ OPERATOR => 'LIKE',
+ VALUE => 'fsck.com-rt://%/ticket/'. $self->id,
ENTRYAGGREGATOR => 'OR',
);
$links->Limit(
- FIELD => $limit_on,
- VALUE => $_,
+ FIELD => $field, #$limit_on,
+ OPERATOR => 'LIKE',
+ VALUE => 'fsck.com-rt://%/ticket/'. $_,
ENTRYAGGREGATOR => 'OR',
) foreach $self->Merged;
$links->Limit(
-----------------------------------------------------------------------
Summary of changes:
rt/lib/RT/Ticket_Overlay.pm | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
More information about the freeside-commits
mailing list