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

Odd behavior on search #20

Open
a0m0rajab opened this issue Aug 24, 2023 · 1 comment · May be fixed by #21
Open

Odd behavior on search #20

a0m0rajab opened this issue Aug 24, 2023 · 1 comment · May be fixed by #21

Comments

@a0m0rajab
Copy link

crowd.dev edition

Community (self hosted)

Version

No response

What happened?

If you search a repo with name and the repo is the first option. The search term will be added to the repo and it will be break.

2023-08-24.12-07-26.mp4

Command / Request

No response

Relevant log output

No response

@a0m0rajab
Copy link
Author

a0m0rajab commented Aug 24, 2023

This is related to this line: https://github.com/CrowdDotDev/analyzemyrepo/blob/17f744e7460a84f205c09be9b74dfb6d9f503ab0/src/components/SearchBar/Hits.tsx#L43

Instead of hit full name, we can use searchState.query or hit.ObjectId

@a0m0rajab a0m0rajab linked a pull request Aug 24, 2023 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant