Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose fuzzy search for issues/pulls #29685

Closed
6543 opened this issue Mar 9, 2024 · 0 comments · Fixed by #29701
Closed

Expose fuzzy search for issues/pulls #29685

6543 opened this issue Mar 9, 2024 · 0 comments · Fixed by #29701
Assignees
Labels
topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality
Milestone

Comments

@6543
Copy link
Member

6543 commented Mar 9, 2024

Currently the backend option to use fuzzy search for issues is not exposed in the WebUI.

func SearchIssues(ctx context.Context, opts *SearchOptions) ([]int64, int64, error) {

Is the backend func in question witch si controled via SearchOptions

To enable fuzzy search set

IsFuzzyKeyword bool // if false the levenshtein distance is 0

to true.

@6543 6543 added type/enhancement An improvement of existing functionality topic/ui Change the appearance of the Gitea UI good first issue Likely to be an easy fix labels Mar 9, 2024
zjjhot added a commit to zjjhot/gitea that referenced this issue Mar 9, 2024
@6543 6543 self-assigned this Mar 10, 2024
@6543 6543 removed the good first issue Likely to be an easy fix label Mar 10, 2024
6543 added a commit that referenced this issue Apr 18, 2024
close  #29685

---------

Signed-off-by: 6543 <6543@obermui.de>
Co-authored-by: silverwind <me@silverwind.io>
@lunny lunny added this to the 1.23.0 milestone Apr 18, 2024
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Jul 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants