Open nus-se-bot opened 2 years ago
When showing by index, it is likely that the user already has the student in interest showing on his screen (since he would need to scroll to the student to view his index). As such, we do not filter the list.
When showing by name, we filter the list to ensure that the student's details show up in the student list on the left, so the user can take a closer look at the student's details.
--
Steps to reproduce
show 3
show -n
Expected result
One consistent output display.
Actual result
Two different output displays;
show 3
keeps the list of students on the side,show -n How Kai Xin
only shows How Kai Xin's displayScreenshots
[original: nus-cs2103-AY2122S1/pe-interim#5800] [original labels: severity.Low type.FunctionalityBug]