-
PackagePanel builder Package Versionv3.2.135 How can we help you?Let's say I have a Category that can have Goods. In my case I am using NestedSet and would like to have a read-only Filament relation manager for CategoryResource that shows the goods for all the ancestors of that category. I would then want to group the table rows by the parent Category. Can this be done in Filament? I believe Filament relation managers expect a real Laravel relation (e.g. HasMany). A manual approach to get all the goods for each of the ancestor Categories would be:
This would get all of the goods, and includes If I use the example from the NestedSets documentation, then I only get the goods used by any of the categories (so: Good A is included, but only once and without reference to the Categories that use it):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I believe I can achieve this using this approach: #10667 |
Beta Was this translation helpful? Give feedback.
I believe I can achieve this using this approach: #10667