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
Currently, the system only allows fetching one advertisement at a time, which creates a limitation when multiple advertisements need to be displayed for a specific organization in the orgDashboard.
Additionally, there is an issue with media attachments in the API, preventing them from being properly sent to the frontend. This needs to be fixed to ensure advertisements can include media files.
Describe the solution you'd like
Query Multiple Advertisements:
Implement an API query to fetch multiple advertisements for a given organization using organisationId from query parameters.
Fix Media Attachments:
Update the API to properly handle media attachments and ensure they are sent correctly to the frontend.
Approach to be followed (optional)
1.Modify the existing API to support fetching multiple advertisements.
2.Implement query parameters to filter advertisements based on organisationId.
3.Fix media handling logic in the API to ensure attachments are properly retrieved and displayed on the frontend.
Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship
Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.
Is your feature request related to a problem? Please describe.
This request is related to Issue #3557.
Currently, the system only allows fetching one advertisement at a time, which creates a limitation when multiple advertisements need to be displayed for a specific organization in the orgDashboard.
Additionally, there is an issue with media attachments in the API, preventing them from being properly sent to the frontend. This needs to be fixed to ensure advertisements can include media files.
Describe the solution you'd like
Query Multiple Advertisements:
Implement an API query to fetch multiple advertisements for a given organization using organisationId from query parameters.
Fix Media Attachments:
Update the API to properly handle media attachments and ensure they are sent correctly to the frontend.
Approach to be followed (optional)
1.Modify the existing API to support fetching multiple advertisements.
2.Implement query parameters to filter advertisements based on organisationId.
3.Fix media handling logic in the API to ensure attachments are properly retrieved and displayed on the frontend.
Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship
The text was updated successfully, but these errors were encountered: