M3TAGH0ST
Table Query Builder with Constraints
It's getting triggered correctly when I want to apply the rule but the $query if I dump it there would look like this
Where my final base table query would look like this if I look in the debug bar
I think I skipped an outer select from the second cannot remmeber from the memory, but basically what is passed to the apply method from the operator is not the same query, I'm not even sure from where that query comes since it doesn't contain the aggregated columns,
23 replies
Table Query Builder with Constraints
Using Tables\Filters\Filter::make to create a minimum and max fields in the form and apply there using baseQuery() applies correctly having on the final query, but I have like 8 columns in the table that I need to have a minimum amount and maximum amount, and the feature provided by the constraints on query builder where you can add rules to it, it's exactly what I would need.
23 replies
Table Query Builder with Constraints
I think i must mention that last week I started working with filament so i'm kinda new to the game.. not really sure if I could call it a filter, seems more like a constraint for me that create dynamic rules to be applied
23 replies