mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update Releases class, controllers and API responses
This commit is contained in:
@@ -95,15 +95,17 @@ class BasePageController extends Controller
|
||||
|
||||
/**
|
||||
* @param $query
|
||||
* @param $totalcount
|
||||
* @param $totalCount
|
||||
* @param $items
|
||||
* @param $page
|
||||
* @param $path
|
||||
* @param $reqQuery
|
||||
*
|
||||
* @return \Illuminate\Pagination\LengthAwarePaginator
|
||||
*/
|
||||
public function paginate($query, $totalcount, $items, $page, $path)
|
||||
public function paginate($query, $totalCount, $items, $page, $path, $reqQuery)
|
||||
{
|
||||
return new LengthAwarePaginator($query, $totalcount, $items, $page, ['path' => $path]);
|
||||
return new LengthAwarePaginator($query, $totalCount, $items, $page, ['path' => $path, 'query' => $reqQuery]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user