Add sort by scene code option (#5708)

This commit is contained in:
javstash
2025-03-16 20:23:51 -04:00
committed by GitHub
parent 4d61c88661
commit 6d451d52ea
2 changed files with 5 additions and 0 deletions

View File

@@ -1056,6 +1056,7 @@ func (qb *SceneStore) QueryCount(ctx context.Context, sceneFilter *models.SceneF
var sceneSortOptions = sortOptions{
"bitrate",
"created_at",
"code",
"date",
"file_count",
"filesize",

View File

@@ -65,6 +65,10 @@ const sortByOptions = [
messageID: "group_scene_number",
value: "group_scene_number",
},
{
messageID: "scene_code",
value: "code",
},
]);
const displayModeOptions = [
DisplayMode.Grid,