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.

@dhruvkb dhruvkb added 🟨 priority: medium Not blocking but should be addressed soon 🌟 goal: addition Addition of new feature 🕹 aspect: interface Concerns end-users' experience with the software 🔧 tech: django Involves Django 🧱 stack: api Related to the Django API labels May 30, 2024
@openverse-bot openverse-bot moved this to 📋 Backlog in Openverse Backlog May 30, 2024
@dhruvkb dhruvkb self-assigned this May 30, 2024
@openverse-bot openverse-bot moved this from 📋 Backlog to 🏗 In Progress in Openverse Backlog May 30, 2024
@openverse-bot openverse-bot moved this from 🏗 In Progress to ✅ Done in Openverse Backlog May 31, 2024
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
Projects
Archived in project
1 participant