mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
Fix random sort not changing seed (#411)
This commit is contained in:
parent
9dacad70a1
commit
5aa6dec8dc
2 changed files with 2 additions and 2 deletions
|
|
@ -310,7 +310,7 @@ export class ListFilterModel {
|
||||||
q: this.searchTerm,
|
q: this.searchTerm,
|
||||||
page: this.currentPage,
|
page: this.currentPage,
|
||||||
per_page: this.itemsPerPage,
|
per_page: this.itemsPerPage,
|
||||||
sort: this.sortBy,
|
sort: this.getSortBy(),
|
||||||
direction: this.sortDirection
|
direction: this.sortDirection
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -304,7 +304,7 @@ export class ListFilterModel {
|
||||||
q: this.searchTerm,
|
q: this.searchTerm,
|
||||||
page: this.currentPage,
|
page: this.currentPage,
|
||||||
per_page: this.itemsPerPage,
|
per_page: this.itemsPerPage,
|
||||||
sort: this.sortBy,
|
sort: this.getSortBy(),
|
||||||
direction: this.sortDirection === "asc" ? SortDirectionEnum.Asc : SortDirectionEnum.Desc,
|
direction: this.sortDirection === "asc" ? SortDirectionEnum.Asc : SortDirectionEnum.Desc,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue