Forums Forums Search & Filter Pro Pagination does not work after applying any filter

Tagged: 

Viewing 10 posts - 1 through 10 (of 13 total)
  • Anonymous
    #134173

    Hi there,

    Just noticed a bug and was hoping you may be able to assist. Still troubleshooting on my end, but any time a filter is applied, my pagination stops working. So – if you apply a filter, the # of pages updates appropriately; however, if you try to click to page 2 (or any other page), nothing appears to happen.

    The pagination does appear to work if the user doesn’t apply any filters. Can you please advise?

    Right now, I’m trying to play around with different selectors to see if maybe I should use a different pagination selector in the “display settings” area.

    The site where I’m having the issue is: http://scarehunt.com.

    Thanks.

    Trevor
    #134187

    Has you changed something? I tried a filter at random (subgenres: Adventure) and got 3 pages of results with pagination working fine?

    I do see another issue; that your results template is picking up the post title of the first result on each page as the browser window/tab title.

    You would need to either edit the template you are using, or make a copy and edit that.

    Anonymous
    #134191

    A. Ah yeah – I initially tried updating the title with the method specified here but wasn’t able to get it to work correctly. What would I need to do as far as editing the template?

    B. And I’m still seeing the issue – I’ve have clearned my browser cache and everything just in case. I’m using Google Chrome browser, and I know a user reported the issue on FireFox browser. Here are exact steps I’ve used to repro:

    1. Clear Google Chrome cache & close browser.
    2. Re-open Google Chrome.
    3. Go here. http://scarehunt.com/
    4. As a non-logged-in user (or a logged-in user), apply “subgenre” filter, “Adventure”
    5. Scroll to the bottom of the page, and click page 2 on the pagiation bar.

    Result: Nothing Happens.

    C. As a workaround, I tried using using the Ajax infinite load, but on mobile I saw duplication in my results (mobile only). I also saw duplicate “loading” images.

    Trevor
    #134194
    This reply has been marked as private.
    Anonymous
    #134210
    This reply has been marked as private.
    Trevor
    #134269

    I tracked it down to a javascript issue. I think.

    In the Search & Filter settings the chosen combobox script was set, so I have now changed this to Select2 (a better script anyway).

    If I disabled that chosen script, the pagination works.

    BUT, even after I clear (or even deactivate) the WP Fastest Cache plugin cache, your page is still loading that script, and not the Select2 script. That suggests that your server is has another cache?

    Anonymous
    #134283

    Hm – I definitely like the Select2 script better but I opted not to use it because it doesn’t quite work right on mobile (deploys the keyboard which blocks the user from making selections, and also stays on the screen even after the menu is closed).

    I haven’t configured server side cacheing but not sure if it exists by default.

    It sounds like the path of least resistance may just be to use the other script with infinite scroll so pagination isn’t a concern.

    Trevor
    #134285

    The issue with Chosen is that it doesn’t always work on some mobile Apple devices. So you may be right about infinite scroll.

    Anonymous
    #134288

    Okay. Any idea what would be causing results to duplicate with infimite scroll on mobile?

    Trevor
    #134293

    For infinite scroll, there are 3 container settings. One of these will be wrong.

Viewing 10 posts - 1 through 10 (of 13 total)