Fix parent/child tag sort order (#5320)

This commit is contained in:
WithoutPants
2024-09-30 17:13:45 +10:00
committed by GitHub
parent 4dd8dd948e
commit be6431ac13
2 changed files with 6 additions and 2 deletions

View File

@@ -333,7 +333,9 @@ var (
table: tagRelationsJoinTable,
idColumn: tagRelationsJoinTable.Col(tagChildIDColumn),
},
fkColumn: tagRelationsJoinTable.Col(tagParentIDColumn),
fkColumn: tagRelationsJoinTable.Col(tagParentIDColumn),
foreignTable: tagTableMgr,
orderBy: tagTableMgr.table.Col("name").Asc(),
}
tagsChildTagsTableMgr = *tagsParentTagsTableMgr.invert()