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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staff > Adopters: Paginate and Add a filter to enable staff to search for a given user by name or email #1294

Open
kasugaijin opened this issue Dec 20, 2024 · 2 comments
Assignees

Comments

@kasugaijin
Copy link
Collaborator

Log in as staff and go to /staff/adopters. We should add a filter on this page (see most other pages with filters for an example). The staff should be able to filter on name, or email (see Fosterer filter for name example). You will need to add email as a ransackable attribute on User. The rest should be pretty similar to other implementations in the app.

I think it's worth adding controller tests to ensure the filter works on the collection as expected.

@kasugaijin kasugaijin added the Ready Make a comment to get assigned. label Dec 20, 2024
@caitlynl22
Copy link
Contributor

I'll take this on!

@jmilljr24 jmilljr24 removed the Ready Make a comment to get assigned. label Dec 22, 2024
@jmilljr24
Copy link
Collaborator

@caitlynl22 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants