[freeside-commits] freeside/FS/FS/ClientAPI Signup.pm,1.35,1.36

Jeff Finucane,420,, jeff at wavetail.420.am
Mon Feb 12 09:56:54 PST 2007


Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail:/tmp/cvs-serv27537/FS/FS/ClientAPI

Modified Files:
	Signup.pm 
Log Message:
alpha sort packages in new package order SELECT (ticket 1446)

Index: Signup.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/Signup.pm,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- Signup.pm	4 Feb 2007 00:01:40 -0000	1.35
+++ Signup.pm	12 Feb 2007 17:56:51 -0000	1.36
@@ -201,6 +201,10 @@
   # delete $signup_info->{'part_pkg'};
   #}
 
+  $signup_info->{'part_pkg'} = [ sort { $a->{pkg} cmp $b->{pkg} }  # case?
+                                      @{ $signup_info->{'part_pkg'} }
+                               ];
+
   if ( exists $packet->{'session_id'} ) {
     my $agent_signup_info = { %$signup_info };
     delete $agent_signup_info->{agentnum2part_pkg};



More information about the freeside-commits mailing list