[freeside-commits] branch master updated. e40855c4e89df6571d0bcc3caf671765d0153c6e
Ivan
ivan at 420.am
Tue Jul 3 12:47:40 PDT 2012
The branch, master has been updated
via e40855c4e89df6571d0bcc3caf671765d0153c6e (commit)
from 64948ee373a03fa156ebc89cb39adfa6d4d2c3d5 (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 e40855c4e89df6571d0bcc3caf671765d0153c6e
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Jul 3 12:47:36 2012 -0700
fix phantom customer links, RT#13852
diff --git a/rt/lib/RT/Tickets.pm b/rt/lib/RT/Tickets.pm
index bfc8e56..485d7df 100755
--- a/rt/lib/RT/Tickets.pm
+++ b/rt/lib/RT/Tickets.pm
@@ -2084,7 +2084,12 @@ sub JoinToCustLinks {
TABLE2 => 'Links',
FIELD2 => 'LocalBase',
);
-
+ $self->SUPER::Limit(
+ LEFTJOIN => $linkalias,
+ FIELD => 'Base',
+ OPERATOR => 'LIKE',
+ VALUE => 'fsck.com-rt://%/ticket/%',
+ );
$self->SUPER::Limit(
LEFTJOIN => $linkalias,
FIELD => 'Type',
@@ -2134,6 +2139,12 @@ sub JoinToSvcLinks {
TABLE2 => 'Links',
FIELD2 => 'LocalBase',
);
+ $self->SUPER::Limit(
+ LEFTJOIN => $linkalias,
+ FIELD => 'Base',
+ OPERATOR => 'LIKE',
+ VALUE => 'fsck.com-rt://%/ticket/%',
+ );
$self->SUPER::Limit(
LEFTJOIN => $linkalias,
-----------------------------------------------------------------------
Summary of changes:
rt/lib/RT/Tickets.pm | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list