mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Fix studio scene count sort (#1714)
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user