|
|
@ -339,7 +339,7 @@ export const defaultState = {
|
|
|
|
type: filterBuilderTypes.ARRAY,
|
|
|
|
type: filterBuilderTypes.ARRAY,
|
|
|
|
optionsSelector: function(items) {
|
|
|
|
optionsSelector: function(items) {
|
|
|
|
const collectionList = items.reduce((acc, movie) => {
|
|
|
|
const collectionList = items.reduce((acc, movie) => {
|
|
|
|
if (movie.collection) {
|
|
|
|
if (movie.collection && movie.collection.title) {
|
|
|
|
acc.push({
|
|
|
|
acc.push({
|
|
|
|
id: movie.collection.title,
|
|
|
|
id: movie.collection.title,
|
|
|
|
name: movie.collection.title
|
|
|
|
name: movie.collection.title
|
|
|
|