cornellh4i / lagos-volunteers

Lagos Food Bank Volunteer Management System
https://lagos-volunteers.vercel.app
MIT License
13 stars 6 forks source link

Search name fullstack #242

Closed DiegolMarques closed 4 months ago

DiegolMarques commented 6 months ago

Summary

NOT COMPLETE Users can now be searched for by first name, last name, or email, but not full name. (more in notes)

Testing

Manually tested.

Notes

It seems like the OR key in the prisma filter dictionary doesn't work the way we expect, but if it did, this ticket would be complete. We can't figure out the specifics of how it works from the documentation; it seems like it's not behaving the same way it does in the documentation. We may be able to change the backend schema to make the objects more suited for this kind of lookup, but we didn't want to make significant changes like those unless only necessary.

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lagos-volunteers ❌ Failed (Inspect) May 6, 2024 9:45pm
akinfelami commented 5 months ago

Making this blocked for now. The search functionality works alright, but when you navigate to other pages, and search, things start to break. This is also related to the issue we were facing with the sorting. I have an idea for how to go about it. Will share more