Becky Siegel 3ae53d1ab8 A few updates to gr-diff-comment-thread-group
- getPatchNum should check patch_set rather than patchNum. This fixes a
   previous bug due to checking the wrong attribute that is surfaced
   when threads in a unified view's thread group come from both the
   patch and base patch num.
 - Adds logic for sorting drafts, which should always be at the end,
   regardless of date
 - Use the draftID as rootId if it's the first (only) comment in a thread

Change-Id: I93c92dc77e158e245697e2f0ae01cde0af3a7ae1
2018-03-02 11:45:50 -08:00
..