snipesnipes's avatar

Laravel 8 pagination need help !

Hello , since I upgraded to Laravel 8 I have that bug : I got a search box and I paginate the results and if the limit is above the search result count than it shows nothing but when the limit is below the result I got the result displayed ... same code works on a Laravel 7 . When I put get() insdeaf of ->paginate(150); then it is ok I see everything.

{!! $items->render() !!}

have u seen this ?

0 likes
5 replies
snipesnipes's avatar

thx but I already did this use Illuminate\Pagination\Paginator;

/**

  • Bootstrap any application services.
  • @return void */ public function boot() { Paginator::useBootstrap(); }
jlrdw's avatar

Can you show code. So far I haven't encountered a bug with L8 paginator.

snipesnipes's avatar

how to post code here , I lost some of it when I copy and paste

jlrdw's avatar

@snipesnipes 3 backpacks before and after code.

See github markdown.

```
code between the ticks.
```

Please or to participate in this conversation.