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",