From 3a990690f0980780558af216034170176d9d08ed Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Thu, 31 Mar 2016 17:06:05 -0700 Subject: [PATCH] change svc_fiber label back to showing OLT information, #35260 --- FS/FS/svc_fiber.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/FS/FS/svc_fiber.pm b/FS/FS/svc_fiber.pm index c604943d8..00b4e0e8a 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 -- 2.11.0