Open Clarenceeey opened 2 weeks ago
The behaviour is as expected, where the find
command obtains details from the entire list of patients instead from the filtered view of patients. This was stated in the User Guide as follows:
Finds patients whose names contain any of the given keywords.
If there is a need to find both david
and/or alex
in their name, the user should type find david alex
.
We lowered the severity, since we already specified the functionality in the UG. Furthermore, it is unlikely for the user to find twice, given that they should just search in the same command.
Team chose [response.Rejected
]
Reason for disagreement: User guide says Finds patients whose names contain any of the given keywords.
, but did not say whether it will find from the entire list or the filtered list.
Furthermore, this is a valid use case because
Steps to reproduce:
find david
find alex
After the first command, only entries that have "david" in their name will appear
However, after typing the second command, I expected it to filter all the "alex" from this list, but instead it finds all "alex" in the full list
Might hinder a user when he searches for a common username (i.e. "tan"), then out of all those whose surnames are "tan", he wants to search for one whose name contains "alex", but instead he is returned a list of all "alex", even those whose surname is not "tan"