when a tag is used and removed, it hangs around with count=0; don't show these as popular
This commit is contained in:
parent
3086f7393d
commit
34f8f4a3b8
@ -263,6 +263,7 @@ class TagList implements Extension {
|
||||
$query = "
|
||||
SELECT tag, count
|
||||
FROM tags
|
||||
WHERE count > 0
|
||||
ORDER BY count DESC
|
||||
LIMIT ?
|
||||
";
|
||||
|
Loading…
x
Reference in New Issue
Block a user