Skip to content

Ensure Todos counters doesn't count Todos for projects pending delete

username-removed-283999 requested to merge fix-todos-counters into master

Fixes #18633 (closed)

What does this MR do?

Use TodosFinder instead of current_user.todos to filter projects pending delete on Todos counters helpers.

Are there points in the code the reviewer needs to double check?

Nope.

Why was this MR needed?

Counters should not reflect the number of Todos displayed on the tabs.

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/17813

Screenshots (if relevant)

Not relevant.

/cc @MrChrisW @mdsnouck @stanhu

Merge request reports

Loading