Forums › Forums › Search & Filter Pro › AJAX Pagination ignores all other filters
Tagged: ajax, issue, pagination, V3
- This topic has 11 replies, 2 voices, and was last updated 5 years, 10 months ago by
Trevor.
-
Anonymous(Private) October 11, 2019 at 8:27 pm #223505
Pagination works fine without AJAX. See http://www.jaywolfeacura.com. Its a PHP template.
Trevor(Private) October 24, 2019 at 4:16 pm #224530The pagination, if correct, should be this:
.vlp-pagination aand not
.vlp-pagination .page-numbersBut, I am not sure if the ajax Container is correct, as it does not contain the pagination. The first element going up the parents would be
#contentso try that for the Ajax Container as well?Anonymous(Private) October 24, 2019 at 10:05 pm #224600I had tried that decoration but still has issues. If you filter to MDX from the main “New” page it will then show 4 pages. If you click on the 4 it will load but there aren’t actually 4 pages of MDX’s and the css doesn’t flip to change the highlight marker. But that can be fixed likely on my end. Try to then highlight and hit return with page 4 you just selected active in the URL field. It will load an empty page. Because there aren’t that many results.
Trevor(Private) October 25, 2019 at 3:36 pm #224653I did a bit of testing around the Ajax Container, and that is not the issue. This means that the issue is caused by the function:
https://www.screencast.com/t/KcMLIm3l
I suspect that a value it receives to create the pagination is not changed, as it is calculated outside the Ajax loop.
I do not know where the code for it is, but it may be running its own query, and thus ignore our filter arguments.
-
AuthorPosts