mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 00:48:41 +00:00
add "All" to the list of filters for tracker hosts
This commit is contained in:
parent
f7071b4428
commit
7a115622df
1 changed files with 2 additions and 0 deletions
|
@ -196,6 +196,8 @@ class FilterManager(component.Component):
|
||||||
value = status[field]
|
value = status[field]
|
||||||
items[field][value] = items[field].get(value, 0) + 1
|
items[field][value] = items[field].get(value, 0) + 1
|
||||||
|
|
||||||
|
items["tracker_host"]["All"] = len(torrent_ids)
|
||||||
|
|
||||||
if "tracker_host" in items:
|
if "tracker_host" in items:
|
||||||
items["tracker_host"]["Error"] = len(tracker_error_filter(torrent_ids, ("Error",)))
|
items["tracker_host"]["Error"] = len(tracker_error_filter(torrent_ids, ("Error",)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue