]> source.dussan.org Git - gitea.git/commit
Fix stats upon searching issues (#17566)
authorGusted <williamzijl7@hotmail.com>
Mon, 8 Nov 2021 21:14:46 +0000 (22:14 +0100)
committerGitHub <noreply@github.com>
Mon, 8 Nov 2021 21:14:46 +0000 (23:14 +0200)
commita3f9e9234cbb099b821a6ea9c575927be18948de
tree24740136097ba5f4dfc39723bc6479d2c8dc5b54
parent640f0e1ddf7a5cae8a778e989046e7438067a56c
Fix stats upon searching issues (#17566)

* Fix stat chunks searching

- Fixes a issue whereby the given chunk of issueIDs wasn't respected and
thus the returned results where not the correct results.

* Add tests

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
models/issue.go
models/issue_test.go