mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove non-existing UserData field from requests
This commit is contained in:
parent
9a73772a08
commit
983a14c528
4 changed files with 4 additions and 4 deletions
|
@ -1244,7 +1244,7 @@ function renderSimilarItems(page, item, context) {
|
||||||
const options = {
|
const options = {
|
||||||
userId: apiClient.getCurrentUserId(),
|
userId: apiClient.getCurrentUserId(),
|
||||||
limit: 12,
|
limit: 12,
|
||||||
fields: 'PrimaryImageAspectRatio,UserData,CanDelete'
|
fields: 'PrimaryImageAspectRatio,CanDelete'
|
||||||
};
|
};
|
||||||
|
|
||||||
if (item.Type == 'MusicAlbum' && item.AlbumArtists && item.AlbumArtists.length) {
|
if (item.Type == 'MusicAlbum' && item.AlbumArtists && item.AlbumArtists.length) {
|
||||||
|
|
|
@ -23,7 +23,7 @@ import Dashboard from '../../scripts/clientUtils';
|
||||||
SortOrder: 'Ascending',
|
SortOrder: 'Ascending',
|
||||||
IncludeItemTypes: 'Episode',
|
IncludeItemTypes: 'Episode',
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: 'PrimaryImageAspectRatio,MediaSourceCount,UserData',
|
Fields: 'PrimaryImageAspectRatio,MediaSourceCount',
|
||||||
IsMissing: false,
|
IsMissing: false,
|
||||||
ImageTypeLimit: 1,
|
ImageTypeLimit: 1,
|
||||||
EnableImageTypes: 'Primary,Backdrop,Thumb',
|
EnableImageTypes: 'Primary,Backdrop,Thumb',
|
||||||
|
|
|
@ -13,7 +13,7 @@ import '../../elements/emby-itemscontainer/emby-itemscontainer';
|
||||||
loading.show();
|
loading.show();
|
||||||
const query = {
|
const query = {
|
||||||
Limit: 48,
|
Limit: 48,
|
||||||
Fields: 'AirTime,UserData',
|
Fields: 'AirTime',
|
||||||
UserId: ApiClient.getCurrentUserId(),
|
UserId: ApiClient.getCurrentUserId(),
|
||||||
ImageTypeLimit: 1,
|
ImageTypeLimit: 1,
|
||||||
EnableImageTypes: 'Primary,Backdrop,Banner,Thumb',
|
EnableImageTypes: 'Primary,Backdrop,Banner,Thumb',
|
||||||
|
|
|
@ -3,7 +3,7 @@ import listView from '../components/listview/listview';
|
||||||
function getFetchPlaylistItemsFn(itemId) {
|
function getFetchPlaylistItemsFn(itemId) {
|
||||||
return function () {
|
return function () {
|
||||||
const query = {
|
const query = {
|
||||||
Fields: 'PrimaryImageAspectRatio,UserData',
|
Fields: 'PrimaryImageAspectRatio',
|
||||||
EnableImageTypes: 'Primary,Backdrop,Banner,Thumb',
|
EnableImageTypes: 'Primary,Backdrop,Banner,Thumb',
|
||||||
UserId: ApiClient.getCurrentUserId()
|
UserId: ApiClient.getCurrentUserId()
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue