From 10205ca67e9adacb9bb20f26ec9e4dd1df42a537 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 d68767a5a..d1f022db0 100644 --- a/src/webui/btjson.cpp +++ b/src/webui/btjson.cpp @@ -121,7 +121,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";