mirror of
https://github.com/stashapp/stash.git
synced 2026-04-25 16:35:21 +02:00
Fix studio scene count sort (#1714)
This commit is contained in:
parent
04e5ac9c2f
commit
13a289a4a8
1 changed files with 2 additions and 0 deletions
|
|
@ -305,6 +305,8 @@ func (qb *studioQueryBuilder) getStudioSort(findFilter *models.FindFilterType) s
|
|||
}
|
||||
|
||||
switch sort {
|
||||
case "scenes_count":
|
||||
return getCountSort(studioTable, sceneTable, studioIDColumn, direction)
|
||||
case "images_count":
|
||||
return getCountSort(studioTable, imageTable, studioIDColumn, direction)
|
||||
case "galleries_count":
|
||||
|
|
|
|||
Loading…
Reference in a new issue