Add Filtering by Tags for Resources 📚
Opened this issue · 1 comments
tomas-salgado commented
Issue Reserved for Bloomberg Mentorship Program
Description
On the Directory tab of the Member Profile, we currently have a filter where you can filter through members based on Company, Graduation Year, Hometown, etc. We’d like to improve the filtering on the Resources page by adding a filter for tags.
Acceptance Criteria
- Add a filter somewhat similar to the one found in the ‘Directory’ tab. The difference is that we only need to include ‘Tags’ rather than ‘School’, ‘Company’, etc.
- When the filter icon is selected, we should see a list of all the tags, and users should then be able to filter by tags
- When a filter is applied, we should only see resources that have all of the selected tags
Additional Context
Utilize the resource_tags
database table to get a list of all of the tags.
Examine the way the Filter Directory dropdown is implemented in the file here. This will be very useful in understanding how to have a filter that can be applied to modify the other contents on the page (i.e. which resources are displayed).
Baguirre03 commented
Ill take this one!