generated from filamentphp/plugin-skeleton
-
-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
Seems to be an intended consequence of #178 .
I'm not sure why it would be intended, but it leads to unexpected behaviour when both Closures are defined - $modifyChildQueryUsing is just left unused.
I would say either revert it or amend the logic in buildTree() to make use of the second Closure when it's defined.
How to reproduce the bug
- Make a SelectTree
- Define
$modifyQueryUsing - Observe result set
- Define
$modifyChildQueryUsing - Notice how the result set is unchanged
Or, set a breakpoint on line 188 of SelectTree.php and notice how it is never hit
Package Version
4.0.5
PHP Version
8.4.12
Laravel Version
12.31.1
Which operating systems does with happen with?
No response
Notes
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working