public function scopeFilter($query, $request)
    {
        $request = Arr::only($request, ['name', 'description']);

        $query->actives()->where(function ($query) use ($request) {
            foreach ($request as $key => $value) {
                $query->orWhere($key, 'like', '%' . $value . '%');
            }
            return $query;
        });

        return $query;
    }