1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-22 07:43:01 +00:00

Fixed: Matched alternative titles and tags in series search results

This commit is contained in:
Bogdan 2024-10-27 00:14:58 +03:00 committed by GitHub
parent 135b5c2ddd
commit 07374de747
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -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 (

View file

@ -37,7 +37,7 @@ function getSuggestions(series, value) {
key: 'title'
}
],
arrayIndex: 0
refIndex: 0
});
if (suggestions.length > limit) {
break;