title: react-admin getList and pagination issue as even header has been set and displayed in image attached
body: <p>In follows, my code is attached and needs to paginate but can#t get a result, I followed all guidelines, can anybody help me, please</p>
  <pre><code>const allEmployees = async (req, res) =&gt; {
    var query = &quot;select * from tbl_personal&quot;;
    const allEmployeesHeader = await executeQuery(query);
    res.header('X-Total-Count',  `employees 0-10/${allEmployeesHeader.length}`)
    res.json(allEmployeesHeader);
  };
  </code></pre>
  <p><a href="https://i.stack.imgur.com/HIerZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HIerZ.png" alt="enter image description here" /></a></p>