[DEFECT] Tag Resource ignores filter parameter and returns all tags
Problem Statement
The Tag Resource endpoint is not respecting the provided filter parameter, causing it to return all tags instead of the expected filtered subset. This impacts any customer or internal service relying on filtered tag retrieval for UI components, search, categorization, or conditional logic. Severity: Medium — functionality works but returns incorrect data, leading to inconsistent behavior across consuming systems.
More info: https://dotcms.slack.com/archives/C0893BF7GRJ/p1763676826119599
Steps to Reproduce
https://github.com/user-attachments/assets/25935eb9-1635-4de0-bbe0-448e81cf17f5
Acceptance Criteria
• Tag Resource correctly applies the filter parameter and returns only matching tags. • Behavior is validated with automated tests covering positive, negative, and edge-case filters. • No regression: endpoints without filters continue returning the full dataset.
dotCMS Version
demo (25.11.20)
Severity
Medium - Some functionality impacted
frontend is calling /api/v2/tags?name=bea which is basically returning all the tags, not filtering.
Actually, query param name was changed to filter recently,
this will work correctly: /api/v2/tags?filter=bea
QA PASSED ✅