mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update DiscoverController
This commit is contained in:
parent
16b93eb315
commit
1b9b299927
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ class DiscoverController extends Controller
|
|||
]);
|
||||
|
||||
$page = $request->input('page') ?? '1';
|
||||
$end = $page > 1 ? $page * 9 : 0;
|
||||
$end = $page > 1 ? $page * 9 : 1;
|
||||
$tag = $request->input('hashtag');
|
||||
|
||||
$hashtag = Hashtag::whereName($tag)->firstOrFail();
|
||||
|
|
Loading…
Reference in a new issue