Open yaroslav-zenin opened 7 years ago
@yaroslav-zenin That code looked strange to me too but I picked it up from the core. It's in the CMS module I just adapted it a bit If it's worth something, the collection always returns one single item everytime (or at least it did for me). I guess there are some magic filters applied somewhere based on the request params. So it is not actually loading the full collection.
I just found that
Sample\News\Ui\DataProvider\Author\Form\Modifier\AuthorData
modifier load all data but should only one with specific author.Any ideas how to fix it?
BTW thanks for the nice sample module. It has started from 2015. Is it still actual with latest magento release?