QA: Create/edit some tickets, putting them in various milestones, and setting some of them to closed. Click Edit Milestones in the sidebar, and make sure the numbers in the Progress column are accurate.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
forge:tv/2847
QA: Create/edit some tickets, putting them in various milestones, and setting some of them to closed. Click Edit Milestones in the sidebar, and make sure the numbers in the Progress column are accurate.
looks good, but refactor?
Refactored to cleanup some non-DRY spots and to remove caching on the milestone counts so we can display accurate counts based on permissions.
Changed
name.split(':')
toname.split(':', 1)
so that it works with milestones having a colon in the value. Besides that worked fine, so merged.