Homec4science

Workboards - fix adding new tasks and sorting

Authored by Bob Trahan <btrahan@phacility.com> on Jul 30 2014, 22:09.

Description

Workboards - fix adding new tasks and sorting

Summary: At least on my install, sorting was pretty borked from a type issue. (e.g. "unbreak now" of 100 sorting as less than "High" of 90). Fix this with some parseInt action. Also support adding new cards with the new colsort stuff. The clever bit here is to include the task ID in the sorting vector because the task ID wins ties at the moment I think / new tasks need to show up before older tasks when they are initially created. Fixes T5716.

Test Plan: added many "normal" priority cards and saw them fly in correctly. changed priority and moved correctly. made no edits and no moves were made correctly.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T5716

Differential Revision: https://secure.phabricator.com/D10081

Details

Committed
Bob Trahan <btrahan@phacility.com>Jul 30 2014, 22:09
Pushed
aubortJan 31 2017, 17:16
Parents
rPHa03e3683e64a: Spell "dependendency" less incorrecter
Branches
Unknown
Tags
Unknown

Event Timeline

Bob Trahan <btrahan@phacility.com> committed rPH90431fd101b4: Workboards - fix adding new tasks and sorting (authored by Bob Trahan <btrahan@phacility.com>).Jul 30 2014, 22:09