Skip to content

Commit

Permalink
Make department filtering case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellaantania committed Oct 11, 2023
1 parent 6a3a32e commit 85627ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/model/person/Department.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public boolean equals(Object other) {
}

Department otherDep = (Department) other;
return department.equals(otherDep.department);
return department.equalsIgnoreCase(otherDep.department);
}

@Override
Expand Down

0 comments on commit 85627ac

Please sign in to comment.