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

Prevents folder selection in media picker when used from the multi URL picker #18288

Conversation

AndyButland
Copy link
Contributor

Prerequisites

  • I have added steps to test this contribution in the description below

Fixes: #18266

Description

As the issue notes, you can select a media folder in the multi URL picker which doesn't make sense as it's not possible to get a URL from a media folder. This PR provides the option to prevent selection of folders.

To Test:

  • Add a multi-URL picker to a document type
  • Create a media item within a folder
  • Pick media from the URL picker and note you now can't select folders.

Sorry, something went wrong.

@iOvergaard iOvergaard merged commit f30e6cf into v13/dev Feb 11, 2025
6 of 8 checks passed
@iOvergaard iOvergaard deleted the v13/bugfix/prevent-media-folder-selection-in-multi-url-picker branch February 11, 2025 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants