]> source.dussan.org Git - gitea.git/commit
Fix 500 error when select `No assignee` filter in issue list page (#24854)
authoryp05327 <576951401@qq.com>
Mon, 22 May 2023 11:08:27 +0000 (20:08 +0900)
committerGitHub <noreply@github.com>
Mon, 22 May 2023 11:08:27 +0000 (13:08 +0200)
commita3a8594f75de19d6f202e162cd4c971e00dc9708
tree8af31409d22f371ba13777a1754ad27f44fdbdbd
parentbebc3433c5c1e843ac36603eafd1a0615f64716f
Fix 500 error when select `No assignee` filter in issue list page (#24854)

Access the issue list page and select `No assignee`, you will get 500
error:

![image](https://github.com/go-gitea/gitea/assets/18380374/a7435fd3-c3d5-4801-894e-9353a8ddc1af)

You can see this page in try.gitea.io:

https://try.gitea.io/yp05327/testrepo/issues?q=&type=all&sort=&state=open&labels=&milestone=0&project=0&assignee=-1&poster=0

Caused by
https://github.com/go-gitea/gitea/pull/24707/files#diff-d7c7dc2da4fcfdc09997648e11a018414dc116472054350b5590ab407adcd44dR1748

Co-authored-by: Giteabot <teabot@gitea.io>
models/issues/issue_stats.go