Replies: 1 comment 1 reply
-
|
Looks like JS columns: [
{data: 'module.categorie.name', name: 'module_categorie'}
]PHP ->orderColumn('module_categorie', fn($q) => ...)
->filterColumn('module_categorie', fn($q) => $q->whereHas('module.categorie', fn($q) => ...) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
On the first hand, I want to thanks you for your great job 👏🏼
I have a question on the nested relationships, as you can see on my screenshot, I load my relationships with a subquery but at this step, the method
isNotEagerLoadedreturn metrue(Is that a first problem ? if i want that the method return false I need to usewith('module.categorie')) and I can use theorderColumnmethod to customize my order.Now considere that I want to customize the order column of the
module.categorierelation, if your methodisNotEagerLoadedreturn metruemyorderColumnmethod is not supported, Do you have a solution for me ?Beta Was this translation helpful? Give feedback.
All reactions