-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug
Milestone
Description
Description
Searching for a PR lists merged pull requests in the tab Open
. The count is correct though.
Reproducer:
https://try.gitea.io/otbutz99/test/pulls?state=open&q=Add
Gitea Version
1.21.11
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
Github binary started via systemd behind a caddy reverse proxy.
Database
PostgreSQL
Metadata
Metadata
Assignees
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug
Type
Projects
Relationships
Development
Select code repository
Activity
Zettat123 commentedon Apr 25, 2024
The results are correct when searching with no keywords. So I think the bug might be related to the issue indexer.
Can you try to rebuild issue indexer then check the search results?
(It is in Site Administration > Monitoring > Cron Tasks)
otbutz commentedon Apr 25, 2024
Same result.I can reproduce it locally and on try.gitea.io.
wolfogre commentedon Apr 26, 2024
I have "Rebuild issue indexer" on try.gitea.io, the index has been fixed now.
This is not to say that bugs do not exist, but to help maintainers determine the cause of the problem.
This is a screenshot before I rebuilt the index.
otbutz commentedon Apr 26, 2024
@wolfogre thanks! I tried to reproduce it again locally and things are now working as expected. Perhaps I was a bit impatient and refreshed before the task was actually finished. Either way, I can confirm that the cause is the outdated index.
Update issue indexer after merging a PR (#30715)
Update issue indexer after merging a PR (go-gitea#30715)
Update issue indexer after merging a PR (go-gitea#30715)
Update issue indexer after merging a PR (#30715) (#30903)
Update issue indexer after merging a PR (#30715) (#30910)
Update issue indexer after merging a PR (go-gitea#30715)