Sort tags in title

This commit is contained in:
Alex Ling 2021-01-07 16:21:23 +00:00
parent 2618d8412b
commit 39b2636711

View File

@ -308,7 +308,7 @@ class Storage
tags = [] of String
MainFiber.run do
get_db do |db|
db.query "select tag from tags where id = (?)", id do |rs|
db.query "select tag from tags where id = (?) order by tag", id do |rs|
rs.each do
tags << rs.read String
end