search resources by facilitator
Closed this issue · 1 comments
okputadora commented
facilitators need to be populated on a resource
therefore we can't include their usernames in the query to find the resource.
We need to find all of the resources, populate the facilitators, and then search for username that matches search criteria.
- I'm not sure the best way to accomplish this given that there might be other filter criteria included as well (privacySetting or roomType) and we need to limit and paginate the results. It seems, because we need to populate users, we need to get ALL of the matching resources without limiting or skipping (for pagination) and then filter through all of the results looking for matching usernames...this seems like it could be problematic as the number of resources grows.
okputadora commented
closed by #251