From 283df753c52399eef360156b847783740e823669 Mon Sep 17 00:00:00 2001 From: Luminarys Date: Tue, 13 Mar 2018 19:42:11 -0700 Subject: [PATCH] Fix up/down rate comparators --- src/ui/torrent_table.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/torrent_table.js b/src/ui/torrent_table.js index 0299427..457ad8f 100644 --- a/src/ui/torrent_table.js +++ b/src/ui/torrent_table.js @@ -73,8 +73,8 @@ const Torrent = connect((state, props) => { const comparators = { "name": (a, b) => a.name.localeCompare(b.name), - "up": (a, b) => a.up - b.up, - "down": (a, b) => a.down - b.down, + "up": (a, b) => a.rate_up - b.rate_up, + "down": (a, b) => a.rate_down - b.rate_down, "ul": (a, b) => a.transferred_up - b.transferred_up, "dl": (a, b) => a.transferred_down - b.transferred_down, "ratio": (a, b) => {