Kenneth Sese
Advanced Tables Filter Not Adding Filter
This was already discussed offline earlier today, but since I’m just now seeing this was posted here too I’ll respond here too:
The issue you are having is the DateFilter is what I call a “columnFilter” this means you need to use the
->includeColumns()
method on your filter.
So to break it down:
If you want to autogenerate your filters based on your table columns (including ‘created_at’) then all you need is:
If you just want the DateFilter for created at then you can pass that into the ->includeColumns()
method:
You only need to use the ->filters()
method if you want to a) don’t want to autogenerate filters (which also means you can’t use column filters), b) you want to override a column filter, or c) if you want to include a custom filter (ie filter data on your table where you don’t have a column for it)
Hope that helps!
p.s. please use the advanced-tables channel and feel free to tag me so I get notified.4 replies
I update my filament 3 project ( composer update ) and after my panel design not working correctly.
Are you using any plugins? Specifically are you using my plugin AdvancedTables? If so please I released a version this afternoon that addresses this. Also be sure to
npm run build
and php artisan filament:upgrade
9 replies
filament filters show more
@Cushty Plug for my own plugin, but the AdvancedFilters of AdvancedTables can basically do this. You can have some default filters show and the rest available under a “Add Filter” button. It can also do other things (like auto-generate filters for you), but for what you need just copy and paste your existing filters to the ->filters() method, define which default filters show up, and you’re done.
https://filamentphp.com/plugins/kenneth-sese-advanced-tables#adding-custom-filters
12 replies
groups([ Group::make not showing first item
Please update to latest version. Was fixed in 3.2.95
https://github.com/filamentphp/filament/pull/13620
4 replies
Export Action - Lifecycle Hooks
@David | Fortune Validator Should be possible by overriding the
handle
method of the ExportCsv class as it loops through processing the records:
Take a look at this link for how to bind and override: https://filamentphp.com/docs/3.x/actions/prebuilt-actions/export#customizing-the-export-job13 replies
Problem with CreateOptionForm
@Davide Cariola this appears to be the same as this known issue with nested modals and scrolling. https://github.com/filamentphp/filament/issues/10925
4 replies
How are Plugin Activations counted?
Hi @sven Thanks for your interest. The amount of developers working on your project doesn’t count against your activations. So as long as you are using the plugin for just one (non-SaSS) project, a single license will work for you, no matter the number of developers that are working on that project.
When you want to use the plugin across multiple projects or a SaSS type application is when you would need an unlimited or lifetime license.
Hope that helps and as @Vp pointed out please feel free to ask more questions in the #kenneth-sese-advanced-tables channel and tag me so I get notified.
Thanks!
5 replies
Is it possible to have a button for submit filter table
This should be coming in v3.2 https://github.com/filamentphp/filament/issues/10116
5 replies