Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 1c08752

Browse files
loysollivierMiloCasagrande
authored andcommitted
Test view board-job fix cases count
Fix the cases count in test view by board - job. The count would not update if no commit was provided. Use the kernel version to differentiate the counts instead of commit number. Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
1 parent 7800223 commit 1c08752

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/dashboard/static/js/app/view-tests-board-job.2017.7.2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ require([
146146

147147
function _createOp(result) {
148148
suiteId = result._id;
149-
suiteCommit = result.vcs_commit;
149+
suiteCommit = result.kernel;
150150

151151
if (suiteId) {
152152
queryStr = 'test_suite_id=' + suiteId.$oid;
@@ -316,7 +316,7 @@ require([
316316
className: 'commit-column'
317317
},
318318
{
319-
data: 'vcs_commit',
319+
data: 'kernel',
320320
title: _casesColumnTitle(),
321321
type: 'string',
322322
orderable: false,

0 commit comments

Comments
 (0)