Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PG_Migration: Fetch Multiple Advertisements & Fix Media Attachments in API #3242

Open
udayempire opened this issue Feb 18, 2025 · 2 comments
Assignees
Labels
feature request unapproved Unapproved for Pull Request

Comments

@udayempire
Copy link

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.

Image

Describe the solution you'd like
Query Multiple Advertisements:

  1. Implement an API query to fetch multiple advertisements for a given organization using organisationId from query parameters.
    Fix Media Attachments:

  2. 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

Copy link

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.

@github-actions github-actions bot added the unapproved Unapproved for Pull Request label Feb 18, 2025
@udayempire
Copy link
Author

Since I am working here PalisadoesFoundation/talawa-admin#3557 (comment) I am updating things in both places so please assign this issue to me.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request unapproved Unapproved for Pull Request
Projects
None yet
Development

No branches or pull requests

1 participant