]> source.dussan.org Git - gitea.git/commit
Fix incorrect milestone count when provide a keyword (#25880)
authoryp05327 <576951401@qq.com>
Sun, 16 Jul 2023 03:43:51 +0000 (12:43 +0900)
committerGitHub <noreply@github.com>
Sun, 16 Jul 2023 03:43:51 +0000 (03:43 +0000)
commit3add4ca2160381e9b8871c752d6dc3e88ece2856
tree17970c0e310d912569862a06f3b6a6f576555744
parentec35af470c8cbed9f32b68e1a2c43e0f71c5f97b
Fix incorrect milestone count when provide a keyword (#25880)

You can confirm this issue in:
https://try.gitea.io/yp05327/testrepo/milestones?state=open&q=a
There's no milestone, but the count is 1.

![image](https://github.com/go-gitea/gitea/assets/18380374/25e58cee-aeeb-43c1-8ec8-6e2ec6bf1284)
routers/web/repo/milestone.go