mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-18 04:21:27 +00:00
Merge pull request #423 from pixelfed/frontend-ui-refactor
Fix discover bug
This commit is contained in:
commit
54e69817a2
1 changed files with 4 additions and 1 deletions
|
@ -29,7 +29,10 @@ class DiscoverController extends Controller
|
|||
->whereIn('filter_type', ['mute', 'block'])
|
||||
->pluck('filterable_id');
|
||||
$following->push($pid);
|
||||
|
||||
if($filtered->count() > 0) {
|
||||
$following->push($filtered);
|
||||
}
|
||||
|
||||
$people = Profile::inRandomOrder()
|
||||
->whereNotIn('id', $following)
|
||||
|
|
Loading…
Reference in a new issue