BigW Consortium Gitlab
The todos page limit is 20, and both that and a user's pending todo count are integers. Using integer division means that the result's floor will be taken, defeating the point of the later call to `#ceil`. So we need to convert one side of the division to a float first, otherwise the last page won't be treated as available.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
application_controller.rb | Loading commit data... | |
groups_controller.rb | Loading commit data... | |
labels_controller.rb | Loading commit data... | |
milestones_controller.rb | Loading commit data... | |
projects_controller.rb | Loading commit data... | |
snippets_controller.rb | Loading commit data... | |
todos_controller.rb | Loading commit data... |