mirror of
https://github.com/anthonyaxenov/iptv.git
synced 2024-12-22 06:15:48 +00:00
Исправлена пагинация на главной
This commit is contained in:
parent
3204b26d8c
commit
f18fb9dd7a
@ -47,7 +47,7 @@ class HomeController extends Controller
|
||||
'updated_at' => $this->ini->updatedAt(),
|
||||
'count' => $this->ini->playlists->count(),
|
||||
'pages' => [
|
||||
'count' => (int)($this->ini->playlists->count() / $per_page),
|
||||
'count' => ceil($this->ini->playlists->count() / $per_page),
|
||||
'current' => $page,
|
||||
],
|
||||
'playlists' => $list->toArray(),
|
||||
|
Loading…
Reference in New Issue
Block a user