Improve creator studio browsing and versioning
This commit is contained in:
@@ -101,8 +101,11 @@ final class CollectionStudioProvider implements CreatorStudioProvider
|
||||
->withTrashed()
|
||||
->where('user_id', $user->id)
|
||||
->with(['user.profile', 'coverArtwork'])
|
||||
->orderByDesc('updated_at')
|
||||
->limit($limit);
|
||||
->orderByDesc('updated_at');
|
||||
|
||||
if ($limit > 0) {
|
||||
$query->limit($limit);
|
||||
}
|
||||
|
||||
if ($bucket === 'drafts') {
|
||||
$query->whereNull('deleted_at')
|
||||
|
||||
Reference in New Issue
Block a user