move collections back under movies. add movie suggestions page.

This commit is contained in:
Luke Pulverenti 2014-03-11 22:11:01 -04:00
parent 07308ea9a7
commit 9db8c276cc
27 changed files with 398 additions and 155 deletions

View file

@ -353,7 +353,7 @@
ApiClient.getItems(Dashboard.getCurrentUserId(), {
Ids: item.SoundtrackIds.join(","),
ItemFields: "PrimaryImageAspectRatio,ItemCounts,DateCreated,AudioInfo",
ItemFields: "PrimaryImageAspectRatio,ItemCounts,AudioInfo",
SortBy: "SortName"
}).done(function (result) {
@ -432,7 +432,7 @@
var options = {
userId: Dashboard.getCurrentUserId(),
limit: item.Type == "MusicAlbum" ? 4 : 5,
fields: "PrimaryImageAspectRatio,DateCreated,UserData"
fields: "PrimaryImageAspectRatio,UserData"
};
if (item.Type == "Movie") {
@ -534,7 +534,7 @@
function renderChildren(page, item, user) {
var fields = "ItemCounts,DateCreated,AudioInfo,PrimaryImageAspectRatio";
var fields = "ItemCounts,AudioInfo,PrimaryImageAspectRatio";
var query = {
ParentId: item.Id,