Jump to content

[PS 8] Grid pagination not working


Recommended Posts

This is a part of a bigger problem, as I have found out here.

 

---------------------------------


Hello all, 

this topic can be seen as sister-topic for this one. I have a generally working grid (listing and searching work), but two things are not working: reset button (see the sister topic for details) and, as I have just found out, trying to switching number of results per page has the same effect as with the reset button: nothing happens except the select box value is changed. No request, no page load, no changes in results display. After I reload the page, the value in the select box is set back to the default. As I have mentioned in the sister-topic, I'm building the grid and the search form exactly as it is described on the official tutorial pages. The system generates the following HTML for the select box:

 

<div class="form-group row mb-0">
      <label for="paginator_select_page_limit" class="col-form-label mr-2">Items per page:</label>
      <div>
        <select name="paginator_select_page_limit" id="paginator_select_page_limit" psurl="/admin-dev/index.php/modules/kursanmeldungen?_route=0&amp;course_list%5Boffset%5D=0&amp;course_list%5Blimit%5D=_limit&amp;_token=ooPhgOvN8rhNQEQ7UPu68Q_3LiTRpD581hVS4Y4AGe8" class="pagination-link custom-select">
                                <option value="10" selected="selected">10</option>
                      <option value="20">20</option>
                      <option value="50">50</option>
                      <option value="100">100</option>
                      <option value="300">300</option>
                      <option value="1000">1000</option>
                  </select>
      </div>
</div>

 

I'd be grateful for any help in fixing these problems.

Edited by rreimche (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...