From 72d25b4abaa6e8e909c12c67ce45cd4eaa7ce867 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 26 Jan 2010 06:14:35 +0000 Subject: [PATCH] fix label method and doc work --- FS/FS/svc_pbx.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FS/FS/svc_pbx.pm b/FS/FS/svc_pbx.pm index 49509b5ef..4ba8e6660 100644 --- a/FS/FS/svc_pbx.pm +++ b/FS/FS/svc_pbx.pm @@ -81,7 +81,7 @@ sub table_info { 'cancel_weight' => 90, 'fields' => { 'id' => 'Thirdlane ID', - 'title' => 'Description', + 'title' => 'Name', 'max_extensions' => 'Maximum number of User Extensions', # 'field' => 'Description', # 'another_field' => { @@ -120,13 +120,13 @@ Class method which returns an SQL fragment to search for the given string. =item label -Returns a meaningful identifier for this PBX tenant. +Returns the title field for this PBX tenant. =cut sub label { my $self = shift; - $self->label_field; #or something more complicated if necessary + $self->title; } =item insert -- 2.11.0