The add-member search needs two letters, and its refusals are tested (#702) #1006
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/702-member-search"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #702. The setting and the server filter were already built; these are the last items.
GET /campaigns/{id}/members/searchstrips the query and answers[]for fewer than two characters, in both scopes; a missing query does the same. It answers 200 with nothing rather than 422, because the page turns any non-200 into "The search did not answer", which would be an error for typing one letter. The "attach to an account" search is this same route, so it follows.%and_are literal. The query went straight into anILIKEpattern, so%%or__matched every account and got round the floor. They are escaped now.Members.jsx,FindSomeone) doesn't ask until two letters are typed, and shows nothing before that. No new text on the page (D20).docs/API.mdgains the route.Left for the owner, noted on the issue: whether a hosted server should default to "people you have played with" (it belongs with #642).
Checked
tests/wikiand the Redis tests, 645 passed.securityfragment). No migration, no bot API change.🤖 Generated with Claude Code