-
-
Notifications
You must be signed in to change notification settings - Fork 287
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
Duplicate entries in Product Search #3287
Comments
Indeed, there's this problem, perhaps these files would be interesting for you |
@anshpathania7 I suggest that we systematically trim the user keywords when she clicks on the "search!" button: no duplicate in search history, and same result on the server. |
By And, yes I don't think there's any need of |
I mean we let the user type whatever, but what we send to the server and we store in the history is to be trimmed before. |
Cool, This will be easy fix but should I patch this up for search query only? or There are other places in app where input needs to be trimmed? @monsieurtanuki @AshAman999 |
@anshpathania7 There are not that many user inputs. If you can fix this one, that's good enough for the moment. |
What
Reason behind this behaviour
This is happening because String is not being trimmed, "redbull", " redbull ", "redbull ".
These are treated as 3 separate entries.
Steps to Reproduce
Expected behavior
Not to show duplicated entries
Screenshot
Smartphone model
The text was updated successfully, but these errors were encountered: