Slightly more useful drilldown ordering for spreadsheet view.  This avoids an 
"infinite loop" case where there's more than one result of the same test name 
in a single job tag.

Signed-off-by: Steve Howard <[email protected]>

--- autotest/frontend/client/src/autotest/tko/SpreadsheetView.java      
2010-01-11 15:52:53.000000000 -0800
+++ autotest/frontend/client/src/autotest/tko/SpreadsheetView.java      
2010-01-11 15:52:53.000000000 -0800
@@ -190,7 +190,7 @@
         drilldownMap.put("hostname", new String[] {"job_tag", "status"});
         
         drilldownMap.put("kernel", new String[] {"test_name", "status"});
-        drilldownMap.put("test_name", new String[] {"job_name", "job_tag"});
+        drilldownMap.put("test_name", new String[] {"subdir", "job_name", 
"job_tag"});
         
         drilldownMap.put("status", new String[] {"reason", "job_tag"});
         
@@ -199,6 +199,8 @@
         drilldownMap.put("test_finished_time", new String[] {"status", 
"job_tag"});
         drilldownMap.put("DATE(test_finished_time)", 
                          new String[] {"test_finished_time", "job_tag"});
+        
+        drilldownMap.put("job_tag", new String[] {"subdir"});
     }
     
     protected void setSelectedHeader(HeaderSelect list, List<HeaderField> 
fields) {
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to