diff --git a/web_src/js/utils/match.js b/web_src/js/utils/match.js index 55a5d55c10..481b3f32e5 100644 --- a/web_src/js/utils/match.js +++ b/web_src/js/utils/match.js @@ -68,7 +68,7 @@ export function matchIssue(queryText, currentIssue = null) { } } - if (results.length < maxMatches) { + if (results.size < maxMatches) { // Fallback: find by title match, sorted by number descending const titleMatches = issues .filter((issue) =>