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

Reverting itemContextMenu changes to support folder/playlist ordering with the "Play" action

Code cleanup
This commit is contained in:
MrK 2023-09-23 22:50:57 +01:00
parent c935ba9a20
commit 5d20523616
3 changed files with 35 additions and 2 deletions

View file

@ -1815,7 +1815,7 @@ class PlaybackManager {
// Setting this to true may cause some incorrect sorting
Recursive: false,
MediaTypes: 'Photo,Video',
sortBy: options.shuffle ? 'Random' : 'SortName',
SortBy: options.shuffle ? 'Random' : 'SortName',
Limit: UNLIMITED_ITEMS
}, queryOptions)).then(function (result) {
const playbackItems = result.Items;