mirror of
https://github.com/stashapp/stash.git
synced 2025-12-15 21:03:22 +01:00
Sort images in galleries by path (#855)
This commit is contained in:
parent
73eb5c7a1f
commit
528b32d1b7
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ func (qb *ImageQueryBuilder) FindByStudioID(studioID int) ([]*Image, error) {
|
|||
|
||||
func (qb *ImageQueryBuilder) FindByGalleryID(galleryID int) ([]*Image, error) {
|
||||
args := []interface{}{galleryID}
|
||||
return qb.queryImages(imagesForGalleryQuery, args, nil)
|
||||
return qb.queryImages(imagesForGalleryQuery+qb.getImageSort(nil), args, nil)
|
||||
}
|
||||
|
||||
func (qb *ImageQueryBuilder) CountByGalleryID(galleryID int) (int, error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue