|
|
@ -213,13 +213,15 @@ export const defaultState = {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: 'studio',
|
|
|
|
name: 'studio',
|
|
|
|
label: 'Studio',
|
|
|
|
label: 'Studio',
|
|
|
|
type: filterBuilderTypes.ARRAY,
|
|
|
|
type: filterBuilderTypes.EXACT,
|
|
|
|
optionsSelector: function(items) {
|
|
|
|
optionsSelector: function(items) {
|
|
|
|
const tagList = items.reduce((acc, movie) => {
|
|
|
|
const tagList = items.reduce((acc, movie) => {
|
|
|
|
acc.push({
|
|
|
|
if (movie.studio) {
|
|
|
|
id: movie.studio,
|
|
|
|
acc.push({
|
|
|
|
name: movie.studio
|
|
|
|
id: movie.studio,
|
|
|
|
});
|
|
|
|
name: movie.studio
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return acc;
|
|
|
|
return acc;
|
|
|
|
}, []);
|
|
|
|
}, []);
|
|
|
|