Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
AO3-5249 Add basic search of invitation queue #3164
+51
−8
Conversation
sarken
added some commits
Nov 17, 2017
sarken
added
the
Awaiting review
label
Nov 17, 2017
| + if params[:query].present? | ||
| + @invite_requests = InviteRequest.where("simplified_email LIKE ?", | ||
| + "%#{params[:query]}%") | ||
| + .order(:position) |
| + @invite_requests = InviteRequest.where("simplified_email LIKE ?", | ||
| + "%#{params[:query]}%") | ||
| + .order(:position) | ||
| + .page(params[:page]) |
sarken
added some commits
Nov 17, 2017
elzj
merged commit 5633477
into
otwcode:master
Nov 18, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sarken commentedNov 17, 2017
Issue
https://otwarchive.atlassian.net/browse/AO3-5249
Purpose
Lets admins do basic searches of email addresses in the invitations queue. Uses the simplified search column so they can find addresses like li.ves.tre.amt.v without worrying about punctuation.
Testing
Put addresses in the queue! Search for them!