mirror of https://github.com/stashapp/stash.git
Fix studio parent getting wiped in edit mode (#973)
This commit is contained in:
parent
a45c1111be
commit
a7d333786f
|
@ -141,7 +141,7 @@ func (qb *StudioQueryBuilder) All() ([]*Studio, error) {
|
|||
}
|
||||
|
||||
func (qb *StudioQueryBuilder) AllSlim() ([]*Studio, error) {
|
||||
return qb.queryStudios("SELECT studios.id, studios.name FROM studios "+qb.getStudioSort(nil), nil, nil)
|
||||
return qb.queryStudios("SELECT studios.id, studios.name, studios.parent_id FROM studios "+qb.getStudioSort(nil), nil, nil)
|
||||
}
|
||||
|
||||
func (qb *StudioQueryBuilder) Query(studioFilter *StudioFilterType, findFilter *FindFilterType) ([]*Studio, int) {
|
||||
|
|
Loading…
Reference in New Issue