Closed diffmike closed 5 years ago
Can I change query for tree view? Like in table view:
$display->apply(function ($query) { $query->where('my_field', 2); $query->orderBy('date', 'desc'); });
Hi,
you can use the code from our forked version :)
https://github.com/Pseudoagentur/soa-sentinel/blob/develop/src/SleepingOwl/Admin/Display/DisplayTree.php
We have implemented the apply() and scope() functionality.
apply()
scope()
Can I change query for tree view? Like in table view: