Open nus-se-script opened 1 week 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.
--
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"
[original: nus-cs2103-AY2425S1/pe-interim#846] [original labels: severity.Medium type.FeatureFlaw]