diff --git a/docs/UserGuide.md b/docs/UserGuide.md index 03c3d4f86e1..a03086d4d09 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -589,6 +589,12 @@ This feature involves only 1 command: `find`, which list contacts whose fields m Format: `find FIND_EXPRESSION` + + +The contact list will be filtered until you perform another `find` command or use the [`list` command](#list-all-contacts-list). +This includes commands that add, delete, or edit contacts — newly-added more edited contacts will be shown only if they match the criteria. + + Find expressions have a low barrier to entry that allows for simple filtering by field. This basic filtering for contacts is likely sufficient for most of your use cases. We recommend that you first read the [basic filtering](#basic-filtering) section to learn how to perform simple filtering by a single field. If you then find that the basic filtering is insufficient for your use case, you can read the [advanced filtering](#advanced-filtering) section to learn how to perform more complex filtering. diff --git a/src/test/java/seedu/address/logic/commands/FindCommandTest.java b/src/test/java/seedu/address/logic/commands/FindCommandTest.java index e07b80f2aed..1c31eed9153 100644 --- a/src/test/java/seedu/address/logic/commands/FindCommandTest.java +++ b/src/test/java/seedu/address/logic/commands/FindCommandTest.java @@ -86,7 +86,7 @@ public void toStringMethod() { } // Integration tests for reactive commands - + @Test public void execute_payAfterFiltered_reactive() throws CommandException { Model tempModel = new ModelManager(getTypicalAddressBook(), new UserPrefs());