mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Support random performer sort (#666)
This commit is contained in:
@@ -12,6 +12,7 @@ const markup = `
|
|||||||
* Add support for parent/child studios.
|
* Add support for parent/child studios.
|
||||||
|
|
||||||
### 🎨 Improvements
|
### 🎨 Improvements
|
||||||
|
* Add random sorting for performers.
|
||||||
* Search for files which have low or upper case supported filename extensions.
|
* Search for files which have low or upper case supported filename extensions.
|
||||||
* Add dialog when pasting movie images.
|
* Add dialog when pasting movie images.
|
||||||
* Allow click and click-drag selection after selecting scene.
|
* Allow click and click-drag selection after selecting scene.
|
||||||
|
|||||||
@@ -136,7 +136,13 @@ export class ListFilterModel {
|
|||||||
break;
|
break;
|
||||||
case FilterMode.Performers: {
|
case FilterMode.Performers: {
|
||||||
this.sortBy = "name";
|
this.sortBy = "name";
|
||||||
this.sortByOptions = ["name", "height", "birthdate", "scenes_count"];
|
this.sortByOptions = [
|
||||||
|
"name",
|
||||||
|
"height",
|
||||||
|
"birthdate",
|
||||||
|
"scenes_count",
|
||||||
|
"random",
|
||||||
|
];
|
||||||
this.displayModeOptions = [DisplayMode.Grid, DisplayMode.List];
|
this.displayModeOptions = [DisplayMode.Grid, DisplayMode.List];
|
||||||
|
|
||||||
const numberCriteria: CriterionType[] = ["birth_year", "age"];
|
const numberCriteria: CriterionType[] = ["birth_year", "age"];
|
||||||
|
|||||||
Reference in New Issue
Block a user