born05/craft-assetusage

Neo Plugin Fix

Closed this issue · 3 comments

Hi,

We're using the plugin Neo: https://github.com/benjamminf/craft-neo
It has another element type on which the usage can relate to.

Can you add support for that plugin too?
We already fixed it, but we can't create a pull request for it.

Add on line 42:

// In case of Neo plugin $relatedAssetIds = array_merge($relatedAssetIds, $this->getAllElementsOfType('Neo_Block'));

Thanks!

@websNL No problem. Next time, feel free to create a pull-request.
edit: @websNL, please turn off your autoreply, it clutters the comments.

^ this