Check user library when searching for new media

This commit is contained in:
Timothy Warren 2021-10-08 12:06:08 -04:00
parent 70d5519d22
commit 1de4580ee7
3 changed files with 9 additions and 0 deletions

View File

@ -535,6 +535,7 @@ final class Model {
'slug' => $item['slug'], 'slug' => $item['slug'],
'canonicalTitle' => $item['titles']['canonical'], 'canonicalTitle' => $item['titles']['canonical'],
'titles' => array_values(K::getTitles($item['titles'])), 'titles' => array_values(K::getTitles($item['titles'])),
'libraryEntry' => $item['myLibraryEntry'],
]; ];
// Search for MAL mapping // Search for MAL mapping

View File

@ -14,6 +14,10 @@ query ($query: String!) {
localized localized
alternatives alternatives
} }
myLibraryEntry {
id
status
}
} }
} }
} }

View File

@ -14,6 +14,10 @@ query ($query: String!) {
localized localized
alternatives alternatives
} }
myLibraryEntry {
id
status
}
} }
} }
} }