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

[BUG] Questions about the search function #2956

Closed
1 task done
yunfan24 opened this issue Jan 6, 2025 · 2 comments · Fixed by #2970
Closed
1 task done

[BUG] Questions about the search function #2956

yunfan24 opened this issue Jan 6, 2025 · 2 comments · Fixed by #2970
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@yunfan24
Copy link
Contributor

yunfan24 commented Jan 6, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When performing a search on the second page or any other page that is not the first page of the list, it results in a blank page even though the data exists in the database.

PixPin_2025-01-06_21-49-45

Expected Behavior

Performing a search on each page results in the correct search outcomes.

Steps To Reproduce

No response

Environment

HertzBeat version(s): master branch

Debug logs

No response

Anything else?

No response

@yunfan24
Copy link
Contributor Author

yunfan24 commented Jan 6, 2025

This issue also appears on other pages, such as the alert center and alert silencing.This is probably because the pageIndex is not set to 1 during the search. I can fix it if needed.

@tomsun28
Copy link
Contributor

tomsun28 commented Jan 7, 2025

This issue also appears on other pages, such as the alert center and alert silencing.This is probably because the pageIndex is not set to 1 during the search. I can fix it if needed.

welcome to help to fix.

@tomsun28 tomsun28 added the good first issue Good for newcomers label Jan 7, 2025
@tomsun28 tomsun28 linked a pull request Jan 10, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
Development

Successfully merging a pull request may close this issue.

2 participants