diff options
author | ivan <ivan> | 2001-08-31 08:43:41 +0000 |
---|---|---|
committer | ivan <ivan> | 2001-08-31 08:43:41 +0000 |
commit | 4ec61507a7b255c3f5e8a573eca18c48ddaaa2c1 (patch) | |
tree | bfd4d1821b594960381f54b0412a511986ff183a /httemplate/browse | |
parent | 7c49a7040bddba0f89d74e9166d38279a3c85b05 (diff) |
> Order by City might be better
state, city, then number
Diffstat (limited to 'httemplate/browse')
-rwxr-xr-x | httemplate/browse/svc_acct_pop.cgi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/httemplate/browse/svc_acct_pop.cgi b/httemplate/browse/svc_acct_pop.cgi index 0e6937f6c..c58ce3333 100755 --- a/httemplate/browse/svc_acct_pop.cgi +++ b/httemplate/browse/svc_acct_pop.cgi @@ -1,5 +1,5 @@ <% -#<!-- $Id: svc_acct_pop.cgi,v 1.3 2001-08-21 09:34:13 ivan Exp $ --> +#<!-- $Id: svc_acct_pop.cgi,v 1.4 2001-08-31 08:43:41 ivan Exp $ --> use strict; use vars qw( $cgi $p $svc_acct_pop ); @@ -30,7 +30,9 @@ print $cgi->header( '-expires' => 'now' ), header('POP Listing', menubar( END foreach $svc_acct_pop ( sort { - $a->getfield('popnum') <=> $b->getfield('popnum') + #$a->getfield('popnum') <=> $b->getfield('popnum') + $a->state cmp $b->state || $a->city cmp $b->city + || $a->ac <=> $b->ac || $a->exch <=> $b->exch || $a->loc <=> $b->loc } qsearch('svc_acct_pop',{}) ) { my($hashref)=$svc_acct_pop->hashref; print <<END; |