Skip to content

Commit

Permalink
Merge pull request #3459 from IgniteUI/bkulov/fix-filtering-tests
Browse files Browse the repository at this point in the history
Fix the logic calculating test results
  • Loading branch information
zdrawku authored Dec 18, 2018
2 parents ae21495 + f88a761 commit 471faae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2988,7 +2988,9 @@ function fillExpectedResults(grid: IgxGridComponent, calendar: Calendar, today)
// day + 15
if (!dateItem0.isThisYear) {
thisYearCountItems--;
} else if (dateItem0.isNextYear) {
}

if (dateItem0.isNextYear) {
nextYearCountItems++;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,9 @@ function fillExpectedResults(grid: IgxGridComponent, calendar: Calendar, today)
// day + 15
if (!dateItem0.isThisYear) {
thisYearCountItems--;
} else if (dateItem0.isNextYear) {
}

if (dateItem0.isNextYear) {
nextYearCountItems++;
}

Expand Down

0 comments on commit 471faae

Please sign in to comment.