forked from mirror/pixelfed
Update DiscoverController
This commit is contained in:
parent
16b93eb315
commit
1b9b299927
|
@ -138,7 +138,7 @@ class DiscoverController extends Controller
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$page = $request->input('page') ?? '1';
|
$page = $request->input('page') ?? '1';
|
||||||
$end = $page > 1 ? $page * 9 : 0;
|
$end = $page > 1 ? $page * 9 : 1;
|
||||||
$tag = $request->input('hashtag');
|
$tag = $request->input('hashtag');
|
||||||
|
|
||||||
$hashtag = Hashtag::whereName($tag)->firstOrFail();
|
$hashtag = Hashtag::whereName($tag)->firstOrFail();
|
||||||
|
|
Loading…
Reference in New Issue