ListCategoryPage stuck on Product model instead of Category
I’m hitting a snag: in my ProductResource the default pages (ListProduct, EditProduct, CreateProduct) work fine. I added a new ListCategoryPage to show ProductCategory under the same resource, but it still uses the Product model and lists products instead of categories. I’ve tried tweaking getModel(), mount(), even registered the page in the Resource correctly, but nothing makes it use ProductCategory. Anyone run into this or know if you can have a page with a different model inside a Resource? Any pointers would be awesome, thanks!
1 Reply