Skip to content
Snippets Groups Projects
Unverified Commit df92b41d authored by syuilo's avatar syuilo
Browse files

Fix bug

parent 075af963
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,7 @@ export default define(meta, async (ps) => {
const hashtags = await Hashtags.createQueryBuilder('tag')
.where('tag.name like :q', { q: ps.query.toLowerCase() + '%' })
.orderBy('tag.count', 'DESC')
.groupBy('tag.id')
.take(ps.limit!)
.skip(ps.offset)
.getMany();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment