Inconsistent Media Type Filtering in Media Library

Created on 18 April 2024, 2 months ago
Updated 6 June 2024, 20 days ago

Problem/Motivation

When using media, the searchable media should only be of the media type that I can use within the field.

The functionality of the media library should restrict the searchable media types to only those compatible with the component's field configurations. For instance, if the media field is configured to accept only documents, the exposed filter for media types should display only document types, excluding any media types not supported within the component.

Steps to reproduce

  1. Create a content type or a paragraph type with a media field.
  2. Configure the media field to only allow specific media types, such as documents.
  3. Access the media library within the created field
  4. Observe that the media library's type filter displays all media types, including those not allowed by the field configuration (e.g., audio, remote video).

Expectation

The type filter should only display media types allowed by the field configuration (e.g., documents).

🐛 Bug report
Status

Active

Version

11.0 🔥

Component
Media 

Last updated about 20 hours ago

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024