Skip to content

Commit

Permalink
Display patient flags when tags set is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
dkayiwa committed Aug 16, 2023
1 parent 1f28089 commit 1b58117
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ else if (this.type == FilterType.ALLTAGS) {
//TODO need to refactor this method such that it is reused by the one before.
public boolean filter(Flag flag) {
// if the filter is empty, just return true
if (this.tags == null) {
if (this.tags == null || tags.size() == 0) {
return true;
}

Expand Down

0 comments on commit 1b58117

Please sign in to comment.