Wire admin studio SSR and search infrastructure
This commit is contained in:
@@ -39,7 +39,7 @@ class FavoriteController extends Controller
|
||||
if ($slice !== []) {
|
||||
$arts = Artwork::query()
|
||||
->whereIn('id', $slice)
|
||||
->with(['user.profile', 'categories'])
|
||||
->with(['user.profile', 'categories.contentType'])
|
||||
->withCount(['favourites', 'comments'])
|
||||
->get()
|
||||
->keyBy('id');
|
||||
|
||||
Reference in New Issue
Block a user