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

added IsOnTour artists filter

This commit is contained in:
Luke Pulverenti 2013-04-24 10:30:12 -04:00
parent b922da75e8
commit f6366f3b22
4 changed files with 24 additions and 4 deletions

View file

@ -273,6 +273,10 @@
overflow: hidden;
}
.tileName + .tileName {
margin-top: .75em;
}
.tileItem .userDataIcons img {
height: 14px;
width: 14px;

View file

@ -65,6 +65,13 @@
<input class="chkStandardFilter" type="checkbox" name="chkDislikes" id="chkDislikes" data-theme="c" data-filter="Dislikes" data-mini="true">
<label for="chkDislikes">Dislikes</label>
</fieldset>
<fieldset data-role="controlgroup">
<legend></legend>
<input class="chkIsOnTour" type="checkbox" name="chkIsOnTour" id="chkIsOnTour" data-theme="c" data-mini="true">
<label for="chkIsOnTour">Is on tour</label>
</fieldset>
</form>
</div>
</div>

View file

@ -353,7 +353,7 @@
SortOrder: "Ascending",
IncludeItemTypes: "Movie",
Recursive: true,
Fields: "PrimaryImageAspectRatio,UserData,DisplayMediaType,ItemCounts,DateCreated",
Fields: "PrimaryImageAspectRatio,UserData,DisplayMediaType,ItemCounts,DateCreated,AudioInfo,SeriesInfo",
Limit: LibraryBrowser.getDetaultPageSize(),
StartIndex: 0
};

View file

@ -87,6 +87,13 @@
reloadItems(page);
});
$('#chkIsOnTour', this).on('change', function () {
query.IsOnTour = this.checked || null;
reloadItems(page);
});
}).on('pagebeforeshow', "#musicArtistsPage", function () {
reloadItems(this);
@ -105,6 +112,8 @@
this.checked = query.SortOrder == this.getAttribute('data-sortorder');
}).checkboxradio('refresh');
$('#chkIsOnTour', this).checked(query.IsOnTour === true).checkboxradio('refresh');
});
})(jQuery, document);