mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04:37 +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 {
|
switch sort {
|
||||||
|
case "scenes_count":
|
||||||
|
return getCountSort(studioTable, sceneTable, studioIDColumn, direction)
|
||||||
case "images_count":
|
case "images_count":
|
||||||
return getCountSort(studioTable, imageTable, studioIDColumn, direction)
|
return getCountSort(studioTable, imageTable, studioIDColumn, direction)
|
||||||
case "galleries_count":
|
case "galleries_count":
|
||||||
|
|||||||
Reference in New Issue
Block a user