[freeside-commits] branch master updated. 07bf36bccc4979b12db49b0f71524de4296f3717

Ivan Kohler ivan at freeside.biz
Mon Jul 16 18:46:25 PDT 2018


The branch, master has been updated
       via  07bf36bccc4979b12db49b0f71524de4296f3717 (commit)
      from  2a9d2460814b37e07d7cb83392723146a60d34c7 (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 07bf36bccc4979b12db49b0f71524de4296f3717
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Jul 16 18:46:24 2018 -0700

    fix phantom customer links

diff --git a/rt/lib/RT/Record.pm b/rt/lib/RT/Record.pm
index 1818c2d48..8f1b5be5e 100755
--- a/rt/lib/RT/Record.pm
+++ b/rt/lib/RT/Record.pm
@@ -1282,6 +1282,11 @@ sub Customers {
 
       $self->{'Customers'} = $self->MemberOf->Clone;
 
+      $self->{'Customers'}->Limit( FIELD    => 'Base',
+                                   OPERATOR => 'STARTSWITH',
+                                   VALUE    => 'fsck.com-rt://%/ticket/',
+                                 );
+
       for my $fstable (qw(cust_main cust_svc)) {
 
         $self->{'Customers'}->Limit(

-----------------------------------------------------------------------

Summary of changes:
 rt/lib/RT/Record.pm | 5 +++++
 1 file changed, 5 insertions(+)




More information about the freeside-commits mailing list