mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-02-23 14:40:49 +00:00
Merge pull request #1533 from pixelfed/frontend-ui-refactor
Fixes #1521
This commit is contained in:
commit
418a478109
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ class CollectionController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
$status = Status::whereScope('public')
|
$status = Status::whereScope('public')
|
||||||
->whereIn('type', ['photo'])
|
->whereIn('type', ['photo', 'photo:album', 'video'])
|
||||||
->findOrFail($postId);
|
->findOrFail($postId);
|
||||||
|
|
||||||
$item = CollectionItem::firstOrCreate([
|
$item = CollectionItem::firstOrCreate([
|
||||||
|
|
Loading…
Reference in a new issue