Files
gitea-MIRROR/models
Myers Carpenter eddd00278b fix(api): exclude code comments from the timeline query, not after paging (#40511)
The issue timeline API paged the comment query and then dropped code
comments from the page, so pages could come back short or empty while
later pages still held events, and clients that stop at such a page
missed them. Code comments are now excluded in the query itself.

Comments the doer cannot read are still filtered after paging, and
`X-Total-Count` still reflects the page length. Both are left for a
follow-up. Independent of https://github.com/go-gitea/gitea/pull/40496
and https://github.com/go-gitea/gitea/pull/40497.

Refs: https://github.com/go-gitea/gitea/issues/40495

Assisted-by: Claude:claude-opus-5-5

---------

Co-authored-by: silverwind <me@silverwind.io>
2026-11-26 11:06:46 +00:00
..
2026-11-26 10:50:01 +00:00
2026-11-26 10:50:01 +00:00
2026-11-26 10:50:01 +00:00