Skip to content

Commit

Permalink
Bug 1274610 - Use platform field to group jobs instead of build_platform
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Dawson committed May 26, 2016
1 parent 2d711b5 commit 1f199dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/js/models/resultsets_store.js
Expand Up @@ -1060,12 +1060,12 @@ treeherder.factory('ThResultSetStore', [
// search for the right platform
var job = jobList[i];
var platform = _.find(groupedJobs.platforms, function(platform){
return job.build_platform === platform.name &&
return job.platform === platform.name &&
job.platform_option === platform.option;
});
if(_.isUndefined(platform)){
platform = {
name: job.build_platform,
name: job.platform,
option: job.platform_option,
groups: []
};
Expand Down

0 comments on commit 1f199dd

Please sign in to comment.