This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing some $like searches on projects (#8695)
Some functions that were searching on project names via $like: %<name>% were returning hits that it shouldn't have gotten, e.g. finds on `project-name` getting hits on projects `project-name` and `project-name-avatars`. If the bad hits happened to come first in the array because their ID happened to come first, this would result in unwanted behavior like patching the wrong project. Removed the %'s in these queries, which match additional characters. We only use $like for case-insensitivity purposes.
- Loading branch information