diff --git a/server/models/LibraryItem.js b/server/models/LibraryItem.js index 4ca599dd..d17dbd15 100644 --- a/server/models/LibraryItem.js +++ b/server/models/LibraryItem.js @@ -794,6 +794,9 @@ class LibraryItem extends Model { { fields: ['libraryId', 'mediaType'] }, + { + fields: ['libraryId', 'mediaId', 'mediaType'] + }, { fields: ['birthtime'] },