From 829ad2e1e626e487d22e6ac7eaeac94f9453886c Mon Sep 17 00:00:00 2001 From: FranciscoPombal Date: Mon, 3 Apr 2017 16:20:01 +0100 Subject: [PATCH] fixed "remaining" column in WebUI the key had the wrong name. In the js code, the expected key is "amount_left" and not "remaining". --- src/webui/btjson.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/btjson.cpp b/src/webui/btjson.cpp index 6f1c2edc4..7ad9eb152 100644 --- a/src/webui/btjson.cpp +++ b/src/webui/btjson.cpp @@ -103,7 +103,7 @@ static const char KEY_TORRENT_AMOUNT_DOWNLOADED[] = "downloaded"; static const char KEY_TORRENT_AMOUNT_UPLOADED[] = "uploaded"; static const char KEY_TORRENT_AMOUNT_DOWNLOADED_SESSION[] = "downloaded_session"; static const char KEY_TORRENT_AMOUNT_UPLOADED_SESSION[] = "uploaded_session"; -static const char KEY_TORRENT_AMOUNT_LEFT[] = "remaining"; +static const char KEY_TORRENT_AMOUNT_LEFT[] = "amount_left"; static const char KEY_TORRENT_AMOUNT_COMPLETED[] = "completed"; static const char KEY_TORRENT_RATIO_LIMIT[] = "ratio_limit"; static const char KEY_TORRENT_LAST_SEEN_COMPLETE_TIME[] = "seen_complete";