fix: reorder offical tags filter

This commit is contained in:
MTG2000
2022-06-15 12:05:56 +03:00
parent 9a8dc9431b
commit 5c5acd2727
2 changed files with 4 additions and 1 deletions

View File

@@ -18,6 +18,9 @@ const officialTags = extendType({
type: "Tag",
resolve: () => {
return prisma.tag.findMany({
orderBy: {
title: 'asc'
},
where: {
isOfficial: true
}