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:
parent
319477eb5a
commit
6cfcf36c3c
3 changed files with 33 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue