This topic is locked

Search Results Pagination

11/13/2024 5:25:31 PM
PHPRunner General questions
S
salus2 author

Hi,
I just updated to V11(42579) and configured my test database...

https://customdataservices.net/businesses/customers_list.php

With "AJAX search, pagination, sorting" disabled on the List page settings, the first page of search results looks correct but any paging returns all records instead of the corresponding page of the found set of records.

I enabled "AJAX search, pagination, sorting" to test but this disabled the ability to search at all (the screen flashes but nothing happens).

Any assistance much appreciated.

S
salus2 author 11/16/2024

The problem is caused by the search term only applying to the first page of results.

Page 1 results currently
https://customdataservices.net/businesses/customers_list.php?qs=dav
Page 2 results currently
https://customdataservices.net/businesses/customers_list.php?goto=2

This works as expected
https://customdataservices.net/businesses/customers_list.php?qs=dav&goto=2

Is there a way to include the search term in the paging controls?

Thanks