Skip to content

Commit

Permalink
Merge pull request #7 from ivang7/bugfix/fixFilterWithEmptyNotCondition
Browse files Browse the repository at this point in the history
Исправление ошибки с NOT фильтром
  • Loading branch information
ivang7 authored Jun 2, 2019
2 parents 99428d6 + 0303248 commit d6b5eb2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public String getSelectionString(HashSet<Long> allAccountIDS) {
condition = String.format("(%s) OR (%s)", transferIncome, transferExpense);
break;
}
if (mInverted) {
if (mInverted && !condition.isEmpty()) {
condition = String.format("NOT(%s)", condition);
}

Expand Down

0 comments on commit d6b5eb2

Please sign in to comment.