projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3a9052a
)
change svc_fiber label back to showing OLT information, #35260
author
Mark Wells
<mark@freeside.biz>
Fri, 1 Apr 2016 00:06:05 +0000
(17:06 -0700)
committer
Mark Wells
<mark@freeside.biz>
Fri, 1 Apr 2016 00:06:05 +0000
(17:06 -0700)
FS/FS/svc_fiber.pm
patch
|
blob
|
history
diff --git
a/FS/FS/svc_fiber.pm
b/FS/FS/svc_fiber.pm
index
c604943
..
00b4e0e
100644
(file)
--- a/
FS/FS/svc_fiber.pm
+++ b/
FS/FS/svc_fiber.pm
@@
-187,14
+187,15
@@
sub search_sql {
=item label
=item label
-Returns a description of this fiber service containing the
circuit ID
-and the O
NT serial number
.
+Returns a description of this fiber service containing the
ONT serial number
+and the O
LT name and port location
.
=cut
sub label {
my $self = shift;
=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
}
# nothing special for insert, delete, or replace