X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fsvc_fiber.pm;h=1428daa1d322976f344823d2a9d554de45a53e74;hb=208cc650f3e441400d88f738cb4af78809497aa5;hp=41df2d5dfa59e9c1d1144323a8ed2f19597db01a;hpb=733afa09f60a32088277bf743ac29d9caa1c7c78;p=freeside.git diff --git a/FS/FS/svc_fiber.pm b/FS/FS/svc_fiber.pm index 41df2d5df..1428daa1d 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