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:
parent
b922da75e8
commit
f6366f3b22
4 changed files with 24 additions and 4 deletions
|
@ -273,6 +273,10 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tileName + .tileName {
|
||||||
|
margin-top: .75em;
|
||||||
|
}
|
||||||
|
|
||||||
.tileItem .userDataIcons img {
|
.tileItem .userDataIcons img {
|
||||||
height: 14px;
|
height: 14px;
|
||||||
width: 14px;
|
width: 14px;
|
||||||
|
@ -438,9 +442,9 @@
|
||||||
width: 23.5%;
|
width: 23.5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cdTileItem .tileImage {
|
.cdTileItem .tileImage {
|
||||||
height: 140px;
|
height: 140px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -65,6 +65,13 @@
|
||||||
<input class="chkStandardFilter" type="checkbox" name="chkDislikes" id="chkDislikes" data-theme="c" data-filter="Dislikes" data-mini="true">
|
<input class="chkStandardFilter" type="checkbox" name="chkDislikes" id="chkDislikes" data-theme="c" data-filter="Dislikes" data-mini="true">
|
||||||
<label for="chkDislikes">Dislikes</label>
|
<label for="chkDislikes">Dislikes</label>
|
||||||
</fieldset>
|
</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>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -353,7 +353,7 @@
|
||||||
SortOrder: "Ascending",
|
SortOrder: "Ascending",
|
||||||
IncludeItemTypes: "Movie",
|
IncludeItemTypes: "Movie",
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "PrimaryImageAspectRatio,UserData,DisplayMediaType,ItemCounts,DateCreated",
|
Fields: "PrimaryImageAspectRatio,UserData,DisplayMediaType,ItemCounts,DateCreated,AudioInfo,SeriesInfo",
|
||||||
Limit: LibraryBrowser.getDetaultPageSize(),
|
Limit: LibraryBrowser.getDetaultPageSize(),
|
||||||
StartIndex: 0
|
StartIndex: 0
|
||||||
};
|
};
|
||||||
|
|
|
@ -87,6 +87,13 @@
|
||||||
reloadItems(page);
|
reloadItems(page);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('#chkIsOnTour', this).on('change', function () {
|
||||||
|
|
||||||
|
query.IsOnTour = this.checked || null;
|
||||||
|
|
||||||
|
reloadItems(page);
|
||||||
|
});
|
||||||
|
|
||||||
}).on('pagebeforeshow', "#musicArtistsPage", function () {
|
}).on('pagebeforeshow', "#musicArtistsPage", function () {
|
||||||
|
|
||||||
reloadItems(this);
|
reloadItems(this);
|
||||||
|
@ -105,6 +112,8 @@
|
||||||
this.checked = query.SortOrder == this.getAttribute('data-sortorder');
|
this.checked = query.SortOrder == this.getAttribute('data-sortorder');
|
||||||
|
|
||||||
}).checkboxradio('refresh');
|
}).checkboxradio('refresh');
|
||||||
|
|
||||||
|
$('#chkIsOnTour', this).checked(query.IsOnTour === true).checkboxradio('refresh');
|
||||||
});
|
});
|
||||||
|
|
||||||
})(jQuery, document);
|
})(jQuery, document);
|
Loading…
Add table
Add a link
Reference in a new issue