mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Add sort by scene code option (#5708)
This commit is contained in:
@@ -1056,6 +1056,7 @@ func (qb *SceneStore) QueryCount(ctx context.Context, sceneFilter *models.SceneF
|
|||||||
var sceneSortOptions = sortOptions{
|
var sceneSortOptions = sortOptions{
|
||||||
"bitrate",
|
"bitrate",
|
||||||
"created_at",
|
"created_at",
|
||||||
|
"code",
|
||||||
"date",
|
"date",
|
||||||
"file_count",
|
"file_count",
|
||||||
"filesize",
|
"filesize",
|
||||||
|
|||||||
@@ -65,6 +65,10 @@ const sortByOptions = [
|
|||||||
messageID: "group_scene_number",
|
messageID: "group_scene_number",
|
||||||
value: "group_scene_number",
|
value: "group_scene_number",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
messageID: "scene_code",
|
||||||
|
value: "code",
|
||||||
|
},
|
||||||
]);
|
]);
|
||||||
const displayModeOptions = [
|
const displayModeOptions = [
|
||||||
DisplayMode.Grid,
|
DisplayMode.Grid,
|
||||||
|
|||||||
Reference in New Issue
Block a user