mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix channel query by category
This commit is contained in:
parent
2cae955857
commit
382c0e393c
3 changed files with 21 additions and 10 deletions
|
@ -9,7 +9,7 @@
|
|||
};
|
||||
|
||||
function getSavedQueryId() {
|
||||
return 'channels-' + getParameterByName('id') + (getParameterByName('categoryId') || '');
|
||||
return 'channels-' + (getParameterByName('categoryId') || '');
|
||||
}
|
||||
|
||||
function showLoadingMessage(page) {
|
||||
|
@ -34,6 +34,10 @@
|
|||
|
||||
$('.categoryTitle', page).html(item.Name);
|
||||
});
|
||||
|
||||
if (categoryId) {
|
||||
query.categoryId = categoryId;
|
||||
}
|
||||
|
||||
$.getJSON(ApiClient.getUrl("Channels/" + channelId + "/Items", query)).done(function (result) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue