So i am for a few months already struggling with this, just can't find an answer. So I have a deviceresource and in my fields there are two main distinctions so I have one resource and two ListDevices where I filter the devices like this:
public function filterTableQuery(Builder $query): Builder { return $query->withoutSomeDevices(); } // And in the other ListJustDevices public function filterTableQuery(Builder $query): Builder { return $query->withSomeDevices(); }
public function filterTableQuery(Builder $query): Builder { return $query->withoutSomeDevices(); } // And in the other ListJustDevices public function filterTableQuery(Builder $query): Builder { return $query->withSomeDevices(); }
So far so good, that all works perfectly. But this breaks the table search for some reason? It just doesn't work. Anyone know what is going on? And how I could fix this?