Show filter item if active items exist but are filtered out
This commit is contained in:
parent
55c6630d15
commit
70a4a31fea
|
@ -80,7 +80,7 @@ def root():
|
||||||
}
|
}
|
||||||
active_items = [read_ex] + active_items
|
active_items = [read_ex] + active_items
|
||||||
|
|
||||||
if active_items:
|
if total > 0:
|
||||||
# Create the feed control item
|
# Create the feed control item
|
||||||
wl_minus = [make_query_link("only - {}".format(tag), [t for t in wl if t != tag], bl) for tag in wl]
|
wl_minus = [make_query_link("only - {}".format(tag), [t for t in wl if t != tag], bl) for tag in wl]
|
||||||
wl_plus = [make_query_link("only + {}".format(tag), wl + [tag], bl) for tag in active_tags if tag not in wl]
|
wl_plus = [make_query_link("only + {}".format(tag), wl + [tag], bl) for tag in active_tags if tag not in wl]
|
||||||
|
|
Loading…
Reference in New Issue