From d2d82863f354790d1eb3ee1d3b193d2e423ae8d0 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 6 Sep 2017 10:29:40 -0700 Subject: [PATCH] display usage fields in deterministic order --- httemplate/edit/svc_acct.cgi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi index 302968ccd..a1fcd1f72 100755 --- a/httemplate/edit/svc_acct.cgi +++ b/httemplate/edit/svc_acct.cgi @@ -311,11 +311,11 @@ % } % } -% my %label = ( seconds => 'Time', -% upbytes => 'Upload bytes', -% downbytes => 'Download bytes', -% totalbytes => 'Total bytes', -% ); +% tie my %label, 'Tie::IxHash', seconds => 'Time', +% upbytes => 'Upload bytes', +% downbytes => 'Download bytes', +% totalbytes => 'Total bytes', +% ; % foreach my $uf (keys %label) { % my $tf = $uf . "_threshold"; % if ( $curuser->access_right('Edit usage') ) { -- 2.11.0