mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
Add sort by scene code option (#5708)
This commit is contained in:
parent
4d61c88661
commit
6d451d52ea
2 changed files with 5 additions and 0 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue