9 upvotes, 1 direct replies (showing 1)
View submission: Update on COLO switchover -- bug fixes, reindexing and more
Bug report:
Using the `author` parameter on the `/reddit/search/submission` does not perform an equal search. It seems to perform a LIKE search.
For instance, searching using my username Postpone-Grant will return submissions for users with similar usernames, such as Grant-James_River282 or Grant-McDonald.
Instead, that endpoint should only return submissions for the exact provided author.
Thanks!
Comment by Undescended_tester at 18/12/2022 at 00:18 UTC
4 upvotes, 0 direct replies
Just some more info to add to your bug report.
I'm finding quite a bit of weird behaviour for usernmes with hypens.
Searching submissions by author=spez returns results for author =i-am-spez
Put any username with hyphens in, it seems to split the username at the hyphen and return results for other usernames with the individual "words" in their username. But only (I think) when their username is *also* contains hyphens...
Example, searching for submissions by "five-six-seven-eight" (not a real user currently) returns submissions for all users with any of the words five, six, seven, or eight when separated by hyphens: