mirror of
https://github.com/Radarr/Radarr
synced 2025-12-06 16:32:36 +01:00
parent
192dd9c137
commit
d8891ee4ea
2 changed files with 3 additions and 3 deletions
|
|
@ -116,7 +116,7 @@ export const filterPredicates = {
|
||||||
const predicate = filterTypePredicates[type];
|
const predicate = filterTypePredicates[type];
|
||||||
const { collection } = item;
|
const { collection } = item;
|
||||||
|
|
||||||
return predicate(collection ? collection.name : '', filterValue);
|
return predicate(collection ? collection.title : '', filterValue);
|
||||||
},
|
},
|
||||||
|
|
||||||
originalLanguage: function(item, filterValue, type) {
|
originalLanguage: function(item, filterValue, type) {
|
||||||
|
|
|
||||||
|
|
@ -341,8 +341,8 @@ export const defaultState = {
|
||||||
const collectionList = items.reduce((acc, movie) => {
|
const collectionList = items.reduce((acc, movie) => {
|
||||||
if (movie.collection) {
|
if (movie.collection) {
|
||||||
acc.push({
|
acc.push({
|
||||||
id: movie.collection.name,
|
id: movie.collection.title,
|
||||||
name: movie.collection.name
|
name: movie.collection.title
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue