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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: Search for a user by email which have underscore "_" with no results #5546

Closed
2 tasks done
hugebug4ever opened this issue May 17, 2023 · 4 comments 路 Fixed by utopia-php/database#279
Closed
2 tasks done
Assignees
Labels
bug Something isn't working product / databases Fixes and upgrades for the Appwrite Database.

Comments

@hugebug4ever
Copy link

馃憻 Reproduction steps

When I search a user by email, the email name have underscore inside the name, there is no result returned.

image

It's different with the non-bug issue here
The search is already quoted by "

馃憤 Expected behavior

the search should return the user with the specified email

馃憥 Actual Behavior

image

馃幉 Appwrite version

Version 1.3.x

馃捇 Operating system

Linux

馃П Your Environment

No response

馃憖 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

@hugebug4ever hugebug4ever added the bug Something isn't working label May 17, 2023
@joeyouss
Copy link

Hey! Thanks for bringing this to our attention. I tried reproducing and looking into it and have passed on this to my team. I will get back to you, soon!

@joeyouss joeyouss self-assigned this May 26, 2023
@joeyouss joeyouss added the product / console Console, UI and UX issues label May 26, 2023
@joeyouss
Copy link

A PR is on the way for the fix! utopia-php/database#279

@stnguyen90 stnguyen90 linked a pull request Jun 5, 2023 that will close this issue
@stnguyen90 stnguyen90 added product / databases Fixes and upgrades for the Appwrite Database. and removed product / console Console, UI and UX issues labels Jun 13, 2023
@sunjianan9900
Copy link

Searching under fulltxt index, the problem still exists (1.3.7)

@sunjianan9900
Copy link

Can be tested on a running website "pubdev.top" , and search 'stack_art_board' and 'stack'

the des in this document is:

stack_art_board||*|A Flutter package consisting of stacks that allows adding any widgets, and enables editing, deleting, and changing the order of layers.

Query.search("des", "stack_art_board") ==> no this document
Query.search("des", "stack") ==> got this document

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product / databases Fixes and upgrades for the Appwrite Database.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants