Hi I am trying to make a filter in laravel nova that allows me to select items that have a relation.
Basically I created a new filter and tried this:
public function apply(Request $request, $query, $value) { return $query->has('vendorproducts'); }
It didn't work. What is wrong?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community