Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PE-D][Tester A] Filter Command: Unable to carry out filter for contacts that match ALL fields #125

Open
nus-se-bot opened this issue Apr 5, 2024 · 0 comments
Milestone

Comments

@nus-se-bot
Copy link

Screenshot 2024-04-05 at 4.29.52 PM.png
In the UG, it was specified that providing multiple fields with the filter command results in an OR search and that multiple filter commands can be executed in succession in order to carry out an AND search

Screenshot 2024-04-05 at 4.33.10 PM.png
In the above example, I've populated the application with two similar contacts Alex Yeoh and Alex Yeo respectively with almost identical fields

I want to carry out an AND search for a contact with name containing Alex and phone number being equal to 87438806
From the UG we know that filter name: Alex phone.is: 87438806 will not work

So I attempt to first filter by name using
filter name: Alex which gets me this updated list of contacts

Screenshot 2024-04-05 at 4.35.25 PM.png

Now I'd like to find the contact whose phone number is exactly 87438806 and contains Alex in their name using
filter phone.is: 87438806 but this gets me this updated list of contacts
Screenshot 2024-04-05 at 4.36.26 PM.png

filter phone.is: 87433806 name: Alex is no better as it gives all three contacts (same as per the OR search)
Screenshot 2024-04-05 at 4.37.51 PM.png

To conclude it seems that searching for contacts matching ALL fields is hard or even impossible on the application. I think it's best to either implement an AND functionality for the search or not include that segment in the UG as it could potentially mislead users.


Labels: type.FunctionalityBug severity.Medium
original: gavingoh99/ped#5

@miffi miffi added this to the unplanned milestone Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants