ergoserv / redmine-progressive-projects-list

⛏️ Redmine plugin that powers a project list with progress bars for every project and version.
https://ergoserv.github.io/redmine-progressive-projects-list/
MIT License
109 stars 57 forks source link

Fixed Issue #49 Redmine 3.0.3 higher #55

Closed jp-yendo closed 8 years ago

jp-yendo commented 9 years ago

Redmine 3.0.3 higher. Fixed an issue where the progress of the project is always 100%.

stgeneral commented 9 years ago

@jp-yendo thank you for the contribution. Did you took this code from the Redmine or this is your personal update?

jp-yendo commented 9 years ago

reference url https://github.com/redmine/redmine/blob/master/app/models/issue_query.rb view mysql log. not join "status", and not found "where". I was fixed for this.

jp-yendo commented 9 years ago

Details I've found. This problem was caused by a version of ActiveRecord. http://apidock.com/rails/ActiveRecord/Calculations/ClassMethods/sum

Marqin commented 9 years ago

Thanks @jp-yendo , this is working for me :+1:

@stgeneral, will You merge this pull request?

stgeneral commented 8 years ago

@jp-yendo thanks for the contribution! @Marqin thank you for confirming the fix!

Fixes #58, #49, #46.