{
'name' => 'Account',
'longname_plural' => 'Access accounts and mailboxes',
- 'sorts' => [ 'username', 'uid', ],
+ 'sorts' => [ 'username', 'uid', 'seconds' ],
'display_weight' => 10,
'cancel_weight' => 50,
'fields' => {
disable_select => 1,
},
'seconds' => { label => 'Seconds',
+ label_sort => 'with Time Remaining',
type => 'text',
disable_inventory => 1,
disable_select => 1,
'format' => \&FS::UI::bytecount::display_bytecount,
'parse' => \&FS::UI::bytecount::parse_bytecount,
},
- 'seconds_threshold' => { label => 'Seconds',
+ 'seconds_threshold' => { label => 'Seconds threshold',
type => 'text',
disable_inventory => 1,
disable_select => 1,
},
- 'upbytes_threshold' => { label => 'Upload',
+ 'upbytes_threshold' => { label => 'Upload threshold',
type => 'text',
disable_inventory => 1,
disable_select => 1,
'format' => \&FS::UI::bytecount::display_bytecount,
'parse' => \&FS::UI::bytecount::parse_bytecount,
},
- 'downbytes_threshold' => { label => 'Download',
+ 'downbytes_threshold' => { label => 'Download threshold',
type => 'text',
disable_inventory => 1,
disable_select => 1,
'format' => \&FS::UI::bytecount::display_bytecount,
'parse' => \&FS::UI::bytecount::parse_bytecount,
},
- 'totalbytes_threshold'=> { label => 'Total up and download',
+ 'totalbytes_threshold'=> { label => 'Total up and download threshold',
type => 'text',
disable_inventory => 1,
disable_select => 1,