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

Changed from using sortOptions to using already implemented queryOptions

Null verification for parentid on shortcuts.js
itemContextMenu is now obeying to sorting
This commit is contained in:
MrK 2023-09-20 17:44:55 +01:00
parent 580ad5f1a8
commit ee791f9d0d
5 changed files with 70 additions and 47 deletions

View file

@ -728,7 +728,7 @@ class ItemsView {
playbackManager.play({
items: [currentItem],
autoplay: true,
sortOptions: values
queryOptions: values
});
} else {
getItems(self, self.params, currentItem, null, 0, 300).then(function (result) {
@ -962,7 +962,7 @@ class ItemsView {
getSortValues() {
const basekey = this.getSettingsKey();
return userSettings.getSortValues(basekey);
return userSettings.getSortValuesLegacy(basekey, this.getDefaultSortBy());
}
getDefaultSortBy() {