Search and global scope

Hi

I have a global scope on a resource so that user can only see record that belongs to the user.
In my Filament resource I have this:

public static function getEloquentQuery(): Builder
    {
        return parent::getEloquentQuery()->withoutGlobalScopes();
    }


but... it looks like the ->searchable() is not working
What did I miss?

Thanks
Was this page helpful?