[freeside-commits] branch FREESIDE_4_BRANCH updated. 95b5826ecc5685680480367d9fe531d03f735233
Ivan Kohler
ivan at freeside.biz
Wed Jul 18 14:47:36 PDT 2018
The branch, FREESIDE_4_BRANCH has been updated
via 95b5826ecc5685680480367d9fe531d03f735233 (commit)
from 4c05e1c2e356908d926bfcd40ad8957a7dfe47bb (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 95b5826ecc5685680480367d9fe531d03f735233
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Jul 18 14:47:35 2018 -0700
fix phantom customer links
diff --git a/httemplate/misc/timeworked.html b/httemplate/misc/timeworked.html
index a0cf74371..4d5c3efbd 100755
--- a/httemplate/misc/timeworked.html
+++ b/httemplate/misc/timeworked.html
@@ -113,12 +113,15 @@ foreach my $id ( map { /^transactionid(\d+)$/; $1; }
$ticket->Load($ticketmap{$id});
$ticket{$ticketmap{$id}} = $ticket->Subject;
$customers{$ticketmap{$id}} =
- [ map { $_->Resolver->AsString }
- grep { $_->Resolver->{'fstable'} eq 'cust_main' }
- grep { $_->Scheme eq 'freeside' }
- map { $_->TargetURI }
- @{ $ticket->_Links('Base')->ItemsArrayRef }
- ];
+ [ map { $_->Resolver->AsString }
+ grep { $_->Resolver->{'fstable'} eq 'cust_main' }
+ grep { $_->Scheme eq 'freeside' }
+ map { $_->TargetURI }
+ grep { $_->BaseURI->Scheme eq 'fsck_com_rt'
+ && $_->BaseURI->ObjectType eq 'ticket'
+ }
+ @{ $ticket->_Links('Base')->ItemsArrayRef }
+ ];
}
}
-----------------------------------------------------------------------
Summary of changes:
httemplate/misc/timeworked.html | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
More information about the freeside-commits
mailing list