mirror of
https://github.com/stashapp/stash.git
synced 2025-12-28 11:13:33 +01:00
Fix sortdir not being set in saved filter (#3206)
This commit is contained in:
parent
02ec98b302
commit
9350be12d9
2 changed files with 8 additions and 7 deletions
|
|
@ -26,6 +26,7 @@
|
|||
* Changed Performer height to be numeric, and changed filtering accordingly. ([#3060](https://github.com/stashapp/stash/pull/3060))
|
||||
|
||||
### 🐛 Bug fixes
|
||||
* Fixed sort direction sometimes not being set when selecting a saved filter. ([#3206](https://github.com/stashapp/stash/pull/3206))
|
||||
* Fixed hang when deleting scene when video has started playing in Firefox. ([#3169](https://github.com/stashapp/stash/pull/3169))
|
||||
* Fixed `index.html` not correctly served from custom mapped folders. ([#3168](https://github.com/stashapp/stash/pull/3168))
|
||||
* Fixed `database is locked` errors when performing operations while running a scan. ([#3153](https://github.com/stashapp/stash/pull/3153))
|
||||
|
|
@ -37,4 +38,4 @@
|
|||
* Scene Player no longer always resumes playing when seeking. ([#3020](https://github.com/stashapp/stash/pull/3020))
|
||||
* Fixed space bar sometimes no playing/pausing the scene player. ([#3020](https://github.com/stashapp/stash/pull/3020))
|
||||
* Fixed scrubber thumbnails not disappearing when seeking on mobile. ([#3020](https://github.com/stashapp/stash/pull/3020))
|
||||
* Fix path filter behaviour to be consistent with previous behaviour. ([#3041](https://github.com/stashapp/stash/pull/3041))
|
||||
* Fixed path filter behaviour to be consistent with previous behaviour. ([#3041](https://github.com/stashapp/stash/pull/3041))
|
||||
|
|
|
|||
|
|
@ -82,12 +82,12 @@ export class ListFilterModel {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (params.sortdir !== undefined) {
|
||||
this.sortDirection =
|
||||
params.sortdir === "desc"
|
||||
? SortDirectionEnum.Desc
|
||||
: SortDirectionEnum.Asc;
|
||||
}
|
||||
// #3193 - sortdir undefined means asc
|
||||
this.sortDirection =
|
||||
params.sortdir === "desc"
|
||||
? SortDirectionEnum.Desc
|
||||
: SortDirectionEnum.Asc;
|
||||
|
||||
if (params.disp !== undefined) {
|
||||
this.displayMode = Number.parseInt(params.disp, 10);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue