summaryrefslogtreecommitdiff
path: root/FS/FS/svc_fiber.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-03-31 17:06:05 -0700
committerMark Wells <mark@freeside.biz>2016-03-31 17:06:15 -0700
commit0a673ebb08fa350a04529f7ab76b855736536ca2 (patch)
tree18dd7dabc97f8f214ce83b3715ec348cebd6018c /FS/FS/svc_fiber.pm
parent77c3202f902126afe13a7fe6543d0e88d7f4deea (diff)
change svc_fiber label back to showing OLT information, #35260
Diffstat (limited to 'FS/FS/svc_fiber.pm')
-rw-r--r--FS/FS/svc_fiber.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/FS/FS/svc_fiber.pm b/FS/FS/svc_fiber.pm
index c604943..00b4e0e 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