mirror of
https://github.com/stashapp/stash.git
synced 2025-12-16 20:07:05 +03:00
Fix parent/child tag sort order (#5320)
This commit is contained in:
@@ -168,6 +168,8 @@ func (t *joinTable) invert() *joinTable {
|
||||
idColumn: t.fkColumn,
|
||||
},
|
||||
fkColumn: t.table.idColumn,
|
||||
foreignTable: t.foreignTable,
|
||||
orderBy: t.orderBy,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -334,6 +334,8 @@ var (
|
||||
idColumn: tagRelationsJoinTable.Col(tagChildIDColumn),
|
||||
},
|
||||
fkColumn: tagRelationsJoinTable.Col(tagParentIDColumn),
|
||||
foreignTable: tagTableMgr,
|
||||
orderBy: tagTableMgr.table.Col("name").Asc(),
|
||||
}
|
||||
|
||||
tagsChildTagsTableMgr = *tagsParentTagsTableMgr.invert()
|
||||
|
||||
Reference in New Issue
Block a user