Define the list of options by yourself

For example if you want to exclude an element from list

public function scopeExtendQueryFilterOptions($query)
{
     return $query->where('status', '<>', 'all');
}

If you want to fetch the filtered elements by anything but id

public function scopeExtendQueryFilterOptions($query)
{
     return $query->select('status as id');
}