X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fsvc_fiber.pm;h=00b4e0e8a50b16e12680e455adbb66afc14e39d6;hp=c604943d8609cc808b58f3d4fb8c6df0fa77ebd4;hb=HEAD;hpb=5c9f445b375ecf56e453de2c783f11e1c572dccb 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