mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
Fix web ui showing total_size rather than total_wanted for Size column
This commit is contained in:
parent
63329e7199
commit
fe1f620731
@ -39,7 +39,7 @@ Deluge.Keys = {
|
||||
|
||||
/**
|
||||
* Keys that are used within the torrent grid.
|
||||
* <pre>['queue', 'name', 'total_size', 'state', 'progress', 'num_seeds',
|
||||
* <pre>['queue', 'name', 'total_size', 'total_wanted', 'state', 'progress', 'num_seeds',
|
||||
* 'total_seeds', 'num_peers', 'total_peers', 'download_payload_rate',
|
||||
* 'upload_payload_rate', 'eta', 'ratio', 'distributed_copies',
|
||||
* 'is_auto_managed', 'time_added', 'tracker_host', 'save_path',
|
||||
@ -47,7 +47,7 @@ Deluge.Keys = {
|
||||
* 'seeds_peers_ratio', 'total_remaining']</pre>
|
||||
*/
|
||||
Grid: [
|
||||
'queue', 'name', 'total_size', 'state', 'progress', 'num_seeds',
|
||||
'queue', 'name', 'total_size', 'total_wanted', 'state', 'progress', 'num_seeds',
|
||||
'total_seeds', 'num_peers', 'total_peers', 'download_payload_rate',
|
||||
'upload_payload_rate', 'eta', 'ratio', 'distributed_copies',
|
||||
'is_auto_managed', 'time_added', 'tracker_host', 'save_path', 'last_seen_complete',
|
||||
|
@ -123,7 +123,7 @@
|
||||
width: 75,
|
||||
sortable: true,
|
||||
renderer: fsize,
|
||||
dataIndex: 'total_size'
|
||||
dataIndex: 'total_wanted'
|
||||
}, {
|
||||
header: _('Progress'),
|
||||
width: 150,
|
||||
@ -274,7 +274,7 @@
|
||||
fields: [
|
||||
{name: 'queue', sortType: Deluge.data.SortTypes.asQueuePosition},
|
||||
{name: 'name', sortType: Deluge.data.SortTypes.asName},
|
||||
{name: 'total_size', type: 'int'},
|
||||
{name: 'total_wanted', type: 'int'},
|
||||
{name: 'state'},
|
||||
{name: 'progress', type: 'float'},
|
||||
{name: 'num_seeds', type: 'int'},
|
||||
|
Loading…
x
Reference in New Issue
Block a user