public function scopeFilterCategory(Builder $query, ?string $category_slug = null, string $lang = 'en'): Builder 	{ 		if (!$category_slug) { 			return $query; 		}  		$category = Category::where('slug->' . $lang, $category_slug)->first();  		$categoryIds = $category->descendants->pluck('id')->push($category->id);  		return $query->whereIn('category_id', $categoryIds); 	}