rescuedcode/StaffPlan — pull request #46 by Veejay (2012-03-13 01:11:29+00:00)
Title: Story #136750 Change order on All Staff page

- Added a scope to retrieve work_weeks for a user and a company starting
from the beginning of the current week
- A user method then uses that scope to compute total hours for those
work_weeks
- The users are then sorted in the controller using that method
- Modified spec, since the order of the elements in @users in the index
action has changed.