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

improved item by name displays

This commit is contained in:
Luke Pulverenti 2013-05-04 00:38:38 -04:00
parent d0fbbcf721
commit 641e9b945e
4 changed files with 14 additions and 8 deletions

View file

@ -172,10 +172,10 @@
html += '<label for="radioShows">TV Shows (' + result.SeriesCount + ')</label>';
}
if (result.EpisodeGuestStarCount) {
if (result.EpisodeCount) {
html += '<input type="radio" name="ibnItems" id="radioGuestStar" value="on" data-mini="true">';
html += '<label for="radioGuestStar">Guest Star (' + result.EpisodeGuestStarCount + ')</label>';
html += '<input type="radio" name="ibnItems" id="radioEpisodes" value="on" data-mini="true">';
html += '<label for="radioEpisodes">Episodes (' + result.EpisodeCount + ')</label>';
}
if (result.TrailerCount) {
@ -266,13 +266,13 @@
});
});
$("#radioGuestStar", page).on("click", function () {
$("#radioEpisodes", page).on("click", function () {
shape = "backdrop";
loadItems(page, {
MediaTypes: "",
IncludeItemTypes: "Episode",
PersonTypes: "GuestStar",
PersonTypes: "",
Artists: ""
});
});