AY2425S1-CS2103T-F14A-3 / tp

https://ay2425s1-cs2103t-f14a-3.github.io/tp/
MIT License
0 stars 5 forks source link

Fix incorrect saving during SortCommand #154

Closed rahula1008 closed 2 weeks ago

rahula1008 commented 2 weeks ago

During the SortCommand, if a FindCommand was executed first, which reduces the size of the sortedPersons list, then during the save, contacts not matching the find query get deleted.

To fix this:

Closes #148

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...rc/main/java/seedu/address/model/ModelManager.java 71.42% 0 Missing and 2 partials :warning:
Files with missing lines Coverage Δ Complexity Δ
...java/seedu/address/logic/commands/SortCommand.java 92.59% <ø> (ø) 14.00 <0.00> (?)
...rc/main/java/seedu/address/model/ModelManager.java 92.06% <71.42%> (ø) 24.00 <0.00> (?)