mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add tag support to list view
This commit is contained in:
parent
f591296bfe
commit
d01cfa498b
3 changed files with 25 additions and 5 deletions
|
@ -673,6 +673,16 @@ class AppRouter {
|
|||
return url;
|
||||
}
|
||||
|
||||
if (item === 'tag') {
|
||||
url = `#/list.html?tag=${encodeURIComponent(options.tag)}&serverId=${serverId}`;
|
||||
|
||||
if (options.parentId) {
|
||||
url += '&parentId=' + options.parentId;
|
||||
}
|
||||
|
||||
return url;
|
||||
}
|
||||
|
||||
if (context !== 'folders' && !itemHelper.isLocalItem(item)) {
|
||||
if (item.CollectionType == CollectionType.Movies) {
|
||||
url = `#/movies.html?topParentId=${item.Id}&collectionType=${item.CollectionType}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue