add "All" to the list of filters for tracker hosts

This commit is contained in:
Damien Churchill 2010-03-16 23:44:38 +00:00
parent f7071b4428
commit 7a115622df

View File

@ -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",)))