orderByTranslation gets ignored
Konzeptcode opened this issue · comments
Hey guys,
i have the problem that my orderByTranslation is getting ignored. I have the following:
Cache::tags(['food', 'food-products'])->rememberForever('non-empty-products', function () {
return Product::orderByTranslation('name', 'asc')->with(['places', 'brands', 'translations', 'product_images'])->withCount(['places', 'brands', 'translations', 'product_images'])->having('places_count', '>', 0)->orHaving('brands_count', '>', 0)->get();
});
Do you have an idea what cause it can have?
Greets
Talha
This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days
Up!
This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days