1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fixing bug #5584 by sending the proper Sort params to the API

This commit is contained in:
MrK 2023-09-17 23:27:44 +01:00
parent 319477eb5a
commit 6cfcf36c3c
3 changed files with 33 additions and 5 deletions

View file

@ -722,11 +722,13 @@ class ItemsView {
function play() {
const currentItem = self.currentItem;
const values = self.getSortValues();
if (currentItem && !self.hasFilters) {
playbackManager.play({
items: [currentItem],
autoplay: true
autoplay: true,
sortOptions: values
});
} else {
getItems(self, self.params, currentItem, null, 0, 300).then(function (result) {