fixes #834 - Change view of TV Shows or Interface for plugins
This commit is contained in:
parent
4318490be2
commit
495501f5aa
10 changed files with 211 additions and 38 deletions
|
@ -1,6 +1,6 @@
|
|||
(function ($, document) {
|
||||
|
||||
var view = "Thumb";
|
||||
var view = LibraryBrowser.getDefaultItemsView('Thumb', 'List');
|
||||
|
||||
// The base query options
|
||||
var query = {
|
||||
|
@ -9,7 +9,7 @@
|
|||
SortOrder: "Ascending",
|
||||
IncludeItemTypes: "Series",
|
||||
Recursive: true,
|
||||
Fields: "SeriesInfo,PrimaryImageAspectRatio",
|
||||
Fields: "PrimaryImageAspectRatio,SortName",
|
||||
StartIndex: 0
|
||||
};
|
||||
|
||||
|
@ -72,7 +72,8 @@
|
|||
|
||||
html = LibraryBrowser.getListViewHtml({
|
||||
items: result.Items,
|
||||
context: 'tv'
|
||||
context: 'tv',
|
||||
sortBy: query.SortBy
|
||||
});
|
||||
$('.itemsContainer', page).removeClass('timelineItemsContainer');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue