diff --git a/frontend/src/Components/Page/Header/SeriesSearchResult.js b/frontend/src/Components/Page/Header/SeriesSearchResult.js index 8a9c35a73..6d1c76416 100644 --- a/frontend/src/Components/Page/Header/SeriesSearchResult.js +++ b/frontend/src/Components/Page/Header/SeriesSearchResult.js @@ -22,9 +22,9 @@ function SeriesSearchResult(props) { let tag = null; if (match.key === 'alternateTitles.title') { - alternateTitle = alternateTitles[match.arrayIndex]; + alternateTitle = alternateTitles[match.refIndex]; } else if (match.key === 'tags.label') { - tag = tags[match.arrayIndex]; + tag = tags[match.refIndex]; } return ( diff --git a/frontend/src/Components/Page/Header/fuse.worker.js b/frontend/src/Components/Page/Header/fuse.worker.js index 23a070617..154607038 100644 --- a/frontend/src/Components/Page/Header/fuse.worker.js +++ b/frontend/src/Components/Page/Header/fuse.worker.js @@ -37,7 +37,7 @@ function getSuggestions(series, value) { key: 'title' } ], - arrayIndex: 0 + refIndex: 0 }); if (suggestions.length > limit) { break;