Add date, duration and rating to Movie sorting (#1663)

* Add date, duration and rating to Movie sorting

Fixes: #1637
This commit is contained in:
gitgiggety 2021-08-24 07:04:17 +02:00 committed by GitHub
parent 28b092885c
commit da8803925c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,5 @@
### ✨ New Features
* Added sort by options for date, duration and rating for movies. ([#1663](https://github.com/stashapp/stash/pull/1663))
* Allow saving query page zoom level in saved and default filters. ([#1636](https://github.com/stashapp/stash/pull/1636))
* Support custom page sizes in the query page size dropdown. ([#1636](https://github.com/stashapp/stash/pull/1636))
* Added between/not between modifiers for number criteria. ([#1559](https://github.com/stashapp/stash/pull/1559))

View file

@ -10,7 +10,7 @@ import { DisplayMode } from "./types";
const defaultSortBy = "name";
const sortByOptions = ["name", "random"]
const sortByOptions = ["name", "random", "date", "duration", "rating"]
.map(ListFilterOptions.createSortBy)
.concat([
{