Skip to content

Commit

Permalink
Merge pull request #1073 from csordasmarton/bugpath_fix
Browse files Browse the repository at this point in the history
Bug path is not shown on the UI
  • Loading branch information
Xazax-hun authored Oct 27, 2017
2 parents 85fffca + 00b0563 commit 2bc5af7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions www/scripts/codecheckerviewer/ListOfBugs.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,9 +418,6 @@ function (declare, dom, Deferred, ObjectStore, Store, QueryResults, topic,
if (sender && sender !== that._grid)
return;

if (!that.runData && !that.baseline && !reportHash && !that.allReportView)
return;

if (reportData !== null && !(reportData instanceof CC_OBJECTS.ReportData))
reportData = CC_SERVICE.getReport(reportData);

Expand All @@ -436,8 +433,8 @@ function (declare, dom, Deferred, ObjectStore, Store, QueryResults, topic,
reportFilter.reportHash = [reportHash];
reportFilter.isUnique = false;

reports = CC_SERVICE.getRunResults(null, CC_OBJECTS.MAX_QUERY_SIZE,
0, null, reportFilter, null);
reports = CC_SERVICE.getRunResults(runResultParam.runIds,
CC_OBJECTS.MAX_QUERY_SIZE, 0, null, reportFilter, null);
reportData = reports[0];
} else {
runResultParam.runIds = [reportData.runId];
Expand Down

0 comments on commit 2bc5af7

Please sign in to comment.