Commit 764c3165 authored by Mat's avatar Mat

[résolu] il attendait start=, et il recevait page=

parent 913d9aa9
......@@ -42,7 +42,7 @@ class MembreAPIController extends MasterAPIController
{
// defaults
$paginate = ($request->query->get('step') !== null) ? $request->query->get('step') : 10;
$start = ($request->query->get('start') !== null) ? $request->query->get('start') : 1;
$start = ($request->query->get('page') !== null) ? $request->query->get('page') : 1;
$column = ($request->query->get('column') !== null) ? $request->query->get('column') : 'id';
$order = ($request->query->get('order') !== null) ? $request->query->get('order') : 'ASC';
......
......@@ -129,7 +129,7 @@
function reloadTableMembre(paginate)
{
console.log(paginate);
//console.log(paginate);
tbody.innerHTML = null;
let membreURL = Routing.generate('api_membre_read_paginate', paginate);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment