[freeside-commits] branch FREESIDE_3_BRANCH updated. 1d09c1581a1291c6bf77d601b960d841238d0894

Mark Wells mark at 420.am
Thu Mar 31 17:06:51 PDT 2016


The branch, FREESIDE_3_BRANCH has been updated
       via  1d09c1581a1291c6bf77d601b960d841238d0894 (commit)
      from  fee90e01f8fa5ee58153b558b3a2129982bee1cb (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 1d09c1581a1291c6bf77d601b960d841238d0894
Author: Mark Wells <mark at freeside.biz>
Date:   Thu Mar 31 17:06:05 2016 -0700

    change svc_fiber label back to showing OLT information, #35260

diff --git a/FS/FS/svc_fiber.pm b/FS/FS/svc_fiber.pm
index 41df2d5..1428daa 100644
--- a/FS/FS/svc_fiber.pm
+++ b/FS/FS/svc_fiber.pm
@@ -187,14 +187,15 @@ sub search_sql {
 
 =item label
 
-Returns a description of this fiber service containing the circuit ID
-and the ONT serial number.
+Returns a description of this fiber service containing the ONT serial number
+and the OLT name and port location.
 
 =cut
 
 sub label {
   my $self = shift;
-  $self->ont_serial . ' @ ' . $self->circuit_id;
+  $self->ont_serial . ' @ ' . $self->fiber_olt->description . ' ' .
+  join('-', $self->shelf, $self->card, $self->olt_port);
 }
 
 # nothing special for insert, delete, or replace

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

Summary of changes:
 FS/FS/svc_fiber.pm |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)




More information about the freeside-commits mailing list