From 2c6029fc930d12e0ace7348979e23bbb4ae4851b Mon Sep 17 00:00:00 2001 From: MrTimscampi Date: Sat, 4 Apr 2020 15:44:42 +0200 Subject: [PATCH] Re-add data assignment --- src/controllers/movies/movietrailers.js | 2 +- src/controllers/music/songs.js | 2 +- src/controllers/shows/tvshows.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/movies/movietrailers.js b/src/controllers/movies/movietrailers.js index ac674bf4fa..e19a33d785 100644 --- a/src/controllers/movies/movietrailers.js +++ b/src/controllers/movies/movietrailers.js @@ -7,7 +7,7 @@ define(["layoutManager", "loading", "events", "libraryBrowser", "imageLoader", " var pageData = data[key]; if (!pageData) { - pageData = { + pageData = data[key] = { query: { SortBy: "SortName", SortOrder: "Ascending", diff --git a/src/controllers/music/songs.js b/src/controllers/music/songs.js index 67aa192d58..aaa71395e4 100644 --- a/src/controllers/music/songs.js +++ b/src/controllers/music/songs.js @@ -7,7 +7,7 @@ define(["events", "libraryBrowser", "imageLoader", "listView", "loading", "userS var pageData = data[key]; if (!pageData) { - pageData = { + pageData = data[key] = { query: { SortBy: "Album,SortName", SortOrder: "Ascending", diff --git a/src/controllers/shows/tvshows.js b/src/controllers/shows/tvshows.js index 9debaf9ac5..95d027d770 100644 --- a/src/controllers/shows/tvshows.js +++ b/src/controllers/shows/tvshows.js @@ -7,7 +7,7 @@ define(["layoutManager", "loading", "events", "libraryBrowser", "imageLoader", " var pageData = data[key]; if (!pageData) { - pageData = { + pageData = data[key] = { query: { SortBy: "SortName", SortOrder: "Ascending",