Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[chore] fix pattern attribute matcher

Eric Schuberteb370343c6f9
diff --git a/frontend/src/stimulus/controllers/pattern-input.controller.ts b/frontend/src/stimulus/controllers/pattern-input.controller.ts
index 5dda10abc93..c7dcdad298e 100644
--- a/frontend/src/stimulus/controllers/pattern-input.controller.ts
+++ b/frontend/src/stimulus/controllers/pattern-input.controller.ts
@@ -444,7 +444,7 @@ export default class PatternInputController extends Controller {
key,
label: group.title,
values: group.tokens
- .filter((token) => token.key.includes(word) || token.label.includes(word) || word === '*')
+ .filter((token) => token.key.includes(word) || token.label.toLowerCase().includes(word) || word === '*')
.map((token) => ({ prop: token.key, value: token.label })),
};
}).filter((group) => group.values.length > 0);