You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: