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

Make admin media endpoint work for all media items not just those with reports #4412

Closed
dhruvkb opened this issue May 30, 2024 · 0 comments · Fixed by #4414
Closed

Make admin media endpoint work for all media items not just those with reports #4412

dhruvkb opened this issue May 30, 2024 · 0 comments · Fixed by #4414
Assignees
Labels
🕹 aspect: interface Concerns end-users' experience with the software 🌟 goal: addition Addition of new feature 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: api Related to the Django API 🔧 tech: django Involves Django

Comments

@dhruvkb
Copy link
Member

dhruvkb commented May 30, 2024

Problem

Currently the admin media endpoints at admin/api/{media_type}/{id}/change/ do not resolve for media items that do not have reports because such media items are excluded from the queryset.

Description

We need to include these media items in the queryset while providing ways to filter them down to those with reports to get to the moderation queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🕹 aspect: interface Concerns end-users' experience with the software 🌟 goal: addition Addition of new feature 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: api Related to the Django API 🔧 tech: django Involves Django
1 participant