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 = "
|
$query = "
|
||||||
SELECT tag, count
|
SELECT tag, count
|
||||||
FROM tags
|
FROM tags
|
||||||
|
WHERE count > 0
|
||||||
ORDER BY count DESC
|
ORDER BY count DESC
|
||||||
LIMIT ?
|
LIMIT ?
|
||||||
";
|
";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user