mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +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]
|
||||
items[field][value] = items[field].get(value, 0) + 1
|
||||
|
||||
items["tracker_host"]["All"] = len(torrent_ids)
|
||||
|
||||
if "tracker_host" in items:
|
||||
items["tracker_host"]["Error"] = len(tracker_error_filter(torrent_ids, ("Error",)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue