Skip to content

When searching for code, options Match and Fuzzy are switched #30435

Closed
@esbennn

Description

@esbennn

Description

When searching for code under Explore, selecting Fuzzy as search type performs a matched search, while selecting Matchperforms a fuzzy search.

For example, in my organization, searching for flightcase with Fuzzy yields 3 results, but flightcas yields none.
Searching for flightcase with Match yields 3 results, as does searching for flightcas.

See attached screenshots

Gitea Version

1.21.5

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Screenshot from 2024-04-04 09-06-22
Screenshot from 2024-04-04 09-06-15
Screenshot from 2024-04-04 09-06-10

Git Version

2.30.2

Operating System

Raspbian GNU/Linux 11 (bullseye)

How are you running Gitea?

Running official arm release with systemd on raspbian

Database

MySQL/MariaDB

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions