Skip to content

fix: asset usage count#45

Open
lneugebauer wants to merge 1 commit intomireo91:masterfrom
lneugebauer:fix-asset-usage-count
Open

fix: asset usage count#45
lneugebauer wants to merge 1 commit intomireo91:masterfrom
lneugebauer:fix-asset-usage-count

Conversation

@lneugebauer
Copy link

Currently, assets inside repeatable fields are not counted towards asset usage. This means that it is possible to delete assets that are actually in use.

This PR extends the query to display assets in use within the media module.

Example

This image is selected as a property of type ImageInterface inside a repeatable field. It now correctly shows its references. Before it was possible to delete the image since the media module wasn't aware of any relations.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant