Pull request search shows merged PRs in Open tab #12910

Closed
opened 2025-11-02 10:24:39 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @otbutz on GitHub (Apr 24, 2024).

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

2024-04-24_13-31

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

Originally created by @otbutz on GitHub (Apr 24, 2024). ### 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 ![2024-04-24_13-31](https://github.com/go-gitea/gitea/assets/22315436/560acb94-cc7e-433c-b5d5-ab026d89d698) ### 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
GiteaMirror added the issue/confirmedtype/bug labels 2025-11-02 10:24:39 -06:00
Author
Owner

@Zettat123 commented on GitHub (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)

@Zettat123 commented on GitHub (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? <img src="https://github.com/go-gitea/gitea/assets/15528715/fd0b987b-4ba5-4863-aa3f-fbeacdd69670" width="300px" /> (It is in Site Administration > Monitoring > Cron Tasks)
Author
Owner

@otbutz commented on GitHub (Apr 25, 2024):

Can you try to rebuild issue indexer then check the search results?

Same result.

So I think the bug might be related to the issue indexer.

I can reproduce it locally and on try.gitea.io.

@otbutz commented on GitHub (Apr 25, 2024): > Can you try to rebuild issue indexer then check the search results? ~~Same result.~~ > So I think the bug might be related to the issue indexer. I can reproduce it locally and on try.gitea.io.
Author
Owner

@wolfogre commented on GitHub (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.

xnip_240426_140938
@wolfogre commented on GitHub (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. <img width="674" alt="xnip_240426_140938" src="https://github.com/go-gitea/gitea/assets/9418365/693f09a6-9d24-47c2-a331-2eeb56b5d077">
Author
Owner

@otbutz commented on GitHub (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.

@otbutz commented on GitHub (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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12910