mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 00:55:48 +01:00
Fix bug
This commit is contained in:
parent
075af96338
commit
df92b41d25
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue