Skip to content

Fix tag search prefix matching (exact match) #5

@fmaass

Description

@fmaass

Problem

Searching tag:auto also returns documents tagged auto-import because TagUtil.findByName uses startsWith matching.

Upstream: sismics/docs#662

Fix

Change TagUtil.findByName to use equals instead of startsWith on lowercased tag names.

File

docs-web/src/main/java/com/sismics/docs/rest/util/TagUtil.java line 48

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions