pond / trackrecord

TrackRecord is a Ruby On Rails application which lets users enter and analyse timesheets, based around a framework of customers, projects and tasks. It may be useful for sole traders and small businesses.
BSD 3-Clause "New" or "Revised" License
12 stars 6 forks source link

Timesheet row sorting does not always succeed first time around #16

Closed pond closed 11 years ago

pond commented 11 years ago

See issue #14. This intentional duplicate tracks the resolution of the "need to sort rows twice" part of that report.

pond commented 11 years ago

This can be hard to duplicate but the direct setting of list position looks likely to be to blame; current acts_as_list implementations may attempt to shuffle the list when this is done. The documentation says that the "set_list_position" method does not cause the list to be reordered so in the context of setting positions on all rows due to a sort request, this should be the correct call to use.

pond commented 11 years ago

Believed to be fixed by cef07e72de78052a2f9634f3080ed6d339c4d4c5.