summaryrefslogtreecommitdiff
path: root/lib/VNWeb
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-06-23 15:31:11 +0200
committerYorhel <git@yorhel.nl>2021-06-23 15:31:11 +0200
commit469e99d4481310468a084b0679d7622ede4662ab (patch)
tree8e74583f798306423ad891d8d7ef91b90ebe67d9 /lib/VNWeb
parent48c15537d9656846f659b42e3c5ec7145602b342 (diff)
VN::Page: Add secondary ordering on tag name in tag cloud
Diffstat (limited to 'lib/VNWeb')
-rw-r--r--lib/VNWeb/VN/Page.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/VN/Page.pm b/lib/VNWeb/VN/Page.pm
index 32e4a567..7c4e3529 100644
--- a/lib/VNWeb/VN/Page.pm
+++ b/lib/VNWeb/VN/Page.pm
@@ -43,7 +43,7 @@ sub enrich_vn {
WHERE NOT t.hidden AND tv.vid =", \$v->{id}, "
GROUP BY t.id, t.name, t.cat
HAVING $rating > 0
- ORDER BY rating DESC"
+ ORDER BY rating DESC, t.name"
);
}