Nick
How-to create table filter from model accessor
Hello, I have an app that uses Laravel batches and I have a field on my "batched" model to track the batch and provide a status based on Laravel's built-in batch methods:
I have this attribute as a field in my table and I want to be able to filter on it with a Select filter, but since it isn't a DB field, I can't figure out how to setup the filter. Any help would be greatly appreciated!
1 replies