Merge "Issues instrumentation: issuesClicked events should always send 1 sectionNumber"

This commit is contained in:
jenkins-bot 2018-09-07 08:56:47 +00:00 committed by Gerrit Code Review
commit 3aab8f585a
1 changed files with 5 additions and 1 deletions

View File

@ -198,7 +198,11 @@
.map( function ( issue ) { return issue.severity; } )
)
],
sectionNumbers: getAllIssuesSections( allIssues )
// In the old treatment, an issuesClicked event will always be '0'
// as the old treatment is always associated with the lead section and we
// are only sending one maximum severity for all of them.
// An issuesClicked event should only ever be associated with one issue box.
sectionNumbers: [ '0' ]
} );
} );
if ( $metadata.length ) {