diff --git a/pkg/models/model_scene.go b/pkg/models/model_scene.go index 23ce181aa..fd3ec0cdc 100644 --- a/pkg/models/model_scene.go +++ b/pkg/models/model_scene.go @@ -1148,6 +1148,8 @@ func queryScenes(db *gorm.DB, r RequestSceneList) (*gorm.DB, *gorm.DB) { } case "scene_id_desc": tx = tx.Order("scene_id desc") + case "site_asc": + tx = tx.Order("scenes.site") case "random": if dbConn.Driver == "mysql" { tx = tx.Order("rand()") diff --git a/ui/src/views/scenes/Filters.vue b/ui/src/views/scenes/Filters.vue index 3fcd268bd..26202f251 100644 --- a/ui/src/views/scenes/Filters.vue +++ b/ui/src/views/scenes/Filters.vue @@ -57,6 +57,7 @@ +