[freeside-commits] freeside/httemplate/edit svc_broadband.cgi, 1.20, 1.20.2.1
Mark Wells
mark at wavetail.420.am
Fri Mar 12 03:50:10 PST 2010
- Previous message: [freeside-commits] freeside/httemplate/edit svc_broadband.cgi, 1.20, 1.21
- Next message: [freeside-commits] freeside/FS/FS svc_phone.pm, 1.24, 1.25 cust_main.pm, 1.497, 1.498 location_Mixin.pm, 1.1, 1.2 cust_location.pm, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv31067/httemplate/edit
Modified Files:
Tag: FREESIDE_1_9_BRANCH
svc_broadband.cgi
Log Message:
RT#7765: sort broadband router names
Index: svc_broadband.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/svc_broadband.cgi,v
retrieving revision 1.20
retrieving revision 1.20.2.1
diff -u -w -d -r1.20 -r1.20.2.1
--- svc_broadband.cgi 7 Jul 2009 09:22:03 -0000 1.20
+++ svc_broadband.cgi 12 Mar 2010 11:50:08 -0000 1.20.2.1
@@ -93,7 +93,8 @@
&& $FS::CurrentUser::CurrentUser->agentnum($_->agentnum)
}
map { $_->addr_block } $object->allowed_routers;
- my @options = map { $_->blocknum } @addr_block;
+ my @options = map { $_->blocknum }
+ sort { $a->label cmp $b->label } @addr_block;
my %option_labels = map { ( $_->blocknum => $_->label ) } @addr_block;
$fieldref->{type} = 'select';
$fieldref->{options} = \@options;
- Previous message: [freeside-commits] freeside/httemplate/edit svc_broadband.cgi, 1.20, 1.21
- Next message: [freeside-commits] freeside/FS/FS svc_phone.pm, 1.24, 1.25 cust_main.pm, 1.497, 1.498 location_Mixin.pm, 1.1, 1.2 cust_location.pm, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list