Skip to content

Commit

Permalink
Merge pull request #1540 from csordasmarton/fix-non-existing-filter
Browse files Browse the repository at this point in the history
Fix non existing filter member
  • Loading branch information
gyorb authored May 2, 2018
2 parents 07c5a34 + 0441d97 commit ffdee05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions www/scripts/codecheckerviewer/CheckerStatistics.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function (declare, ItemFileWriteStore, dom, Deferred, all, Memory, Observable,
// Select runs.
if (this.filterPane.selectedRuns)
this.filterPane.selectedRuns.forEach(function (runName) {
filter._runNameFilter.select(runName);
filter._runBaseLineFilter.select(runName);
});

switch (evt.cell.field) {
Expand Down Expand Up @@ -337,7 +337,7 @@ function (declare, ItemFileWriteStore, dom, Deferred, all, Memory, Observable,
var item = this.getItem(evt.rowIndex);

var filter = this.bugFilterView;
var runNameFilter = filter._runNameFilter;
var runNameFilter = filter._runBaseLineFilter;
var severityFilter = filter._severityFilter;

// Clear the filters.
Expand Down
6 changes: 3 additions & 3 deletions www/scripts/codecheckerviewer/RunHistory.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function (declare, dom, topic, Dialog, Standby, ContentPane, hashHelper, util) {
var filter = this.bugFilterView;
var dateFilter = filter._detectionDateFilter;
var dsFilter = filter._detectionStatusFilter;
var runFilter = filter._runNameFilter;
var runFilter = filter._runBaseLineFilter;

Object.keys(historyGroupByDate).forEach(function (key) {
var group = dom.create('div', { class : 'history-group' }, that.domNode);
Expand Down Expand Up @@ -114,8 +114,8 @@ function (declare, dom, topic, Dialog, Standby, ContentPane, hashHelper, util) {
var filter = this.bugFilterView;
this.bugFilterView.clearAll();

if (filter._runNameFilter)
filter._runNameFilter.select(item.runName);
if (filter._runBaseLineFilter)
filter._runBaseLineFilter.select(item.runName);

if (!item.versionTag) {
[
Expand Down

0 comments on commit ffdee05

Please sign in to comment.