0e280b73b99c652073cbd4a60bb9ffbc36a9370b
chmalee
  Tue Jul 9 09:58:15 2019 -0700
Forgot subtrackColor as an automatic subtrack grouping

diff --git src/hg/lib/hui.c src/hg/lib/hui.c
index 4711659..27db7ce 100644
--- src/hg/lib/hui.c
+++ src/hg/lib/hui.c
@@ -4812,31 +4812,31 @@
     // If sortable, then there must be a column per sortable dimension
     if (sortOrder != NULL)
         {
         int sIx=0;
         for (sIx=0; sIx <sortOrder->count; sIx++)
             {
             ix = -1;
             char *col = sortOrder->column[sIx];
             if (membership)
                 ix = stringArrayIx(col, membership->subgroups, membership->count);
                 // TODO: Sort needs to expand from subGroups to labels as well
 
             // only print the warning message for trackDb errors and not for the
             // default sortable columns of trackName and dateUnrestricted
             if ( (!membership || (membership && ix == -1) ) &&
-                !(sameString(col, "trackName") || sameString(col, "dateUnrestricted")) )
+                !(sameString(col, "trackName") || sameString(col, "dateUnrestricted") || sameString(col, "subtrackColor")) )
                 {
                 printf("<TD><span style=\"color:red\">Missing subgroup</span></TD>");
                 }
             else
                 {
                 if (ix >= 0)
                     {
                     char *term = membership->membership[ix];
                     char *title = membership->titles[ix];
                     char *titleRoot=NULL;
                     if (cvTermIsEmpty(col, title))
                         titleRoot = cloneString(" &nbsp;");
                     else
                         titleRoot = labelRoot(title, NULL);
                     // Each sortable column requires hidden goop (in the "abbr" field currently)