Pagination not working for todo's

Please read this!

Before opening a new issue, make sure to search for keywords in the issues filtered by the "regression" or "bug" label.

For the Community Edition issue tracker:

For the Enterprise Edition issue tracker:

and verify the issue you're about to submit isn't a duplicate.

Please remove this notice if you're confident your issue isn't a duplicate.


Summary

Pagination doesn't work on the ToDo's

Steps to reproduce

I have more then 20 todo's, 24 to be exact, and going to then next page either clicking the "next" button, the number of the next page or change the url by entering "page=2" at then end always takes me to the first page.

Example Project

N.A.

What is the current bug behavior?

I cannot go to the next page on todo. It will always take me to the first page

What is the expected correct behavior?

I expect it could take me to the next page

Relevant logs and/or screenshots

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Results of GitLab application Check

Possible fixes