Change the TimelogController's to/from dates based on the project time entries
Instead of looking for the earliest and latest time entry system wide for the dates in the form, now TimelogController will only look at the time entries for the current project (and parent/sub projects). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4087 e93f8b46-1217-0410-a6f0-8f06a7374b81
Showing
- app/controllers/timelog_controller.rb 2 additions, 2 deletionsapp/controllers/timelog_controller.rb
- app/models/project.rb 9 additions, 0 deletionsapp/models/project.rb
- app/models/time_entry.rb 12 additions, 4 deletionsapp/models/time_entry.rb
- test/functional/timelog_controller_test.rb 3 additions, 3 deletionstest/functional/timelog_controller_test.rb
- test/unit/time_entry_test.rb 39 additions, 6 deletionstest/unit/time_entry_test.rb
Please register or sign in to comment