Show imperial units for height and weight (#3097)

* Show imperial units for height and weight
* Fix migration note index
This commit is contained in:
WithoutPants
2022-11-09 11:10:57 +11:00
committed by GitHub
parent 30a7482ddf
commit 3bc0de3f3a
9 changed files with 141 additions and 19 deletions

View File

@@ -4,6 +4,7 @@
* Added tag description filter criterion. ([#3011](https://github.com/stashapp/stash/pull/3011))
### 🎨 Improvements
* Also show imperial units for performer height and weight. ([#3097](https://github.com/stashapp/stash/pull/3097))
* Limit number of items in selector drop-downs to 200. ([#3062](https://github.com/stashapp/stash/pull/3062))
* Changed Performer height to be numeric, and changed filtering accordingly. ([#3060](https://github.com/stashapp/stash/pull/3060))

View File

@@ -1 +0,0 @@
This migration changes performer height values from strings to numbers. Non-numeric performer height values **will be erased during this migration**.

View File

@@ -0,0 +1 @@
This migration changes performer height values from strings to numbers. The migration converts the _first number in the string_ to an integer value. Height values that cannot be converted this way **will be erased during this migration**.

View File

@@ -1,9 +1,9 @@
import migration32 from "./32.md";
import migration38 from "./38.md";
import migration39 from "./39.md";
type Module = typeof migration32;
export const migrationNotes: Record<number, Module> = {
32: migration32,
38: migration38,
39: migration39,
};