Forums Forums Search & Filter Pro Results per page with query data

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Anonymous
    #210353

    I used $searchandfilter->get(1123)->current_query() to access the query data since I needed to use twig template that will accept the query to generate a styled list of posts. But, it seems like result per page feature isn’t working with that query data. Is there a way to accomplish this?

    Trevor
    #210397

    What data are you passing to Twig? Is it a list of Post IDs?

    Anonymous
    #210521
    This reply has been marked as private.
    Trevor
    #210527

    Are you trying to pass ALL posts in one go, in which case, what are you setting the Post Per Page to in the form settings?

    Anonymous
    #210543

    I was hoping that current_query() will also reflect the filters/pagination when I found the function; but I figured using result template might be easier to establish everything I need.

    Thank you so much for your help!

    Trevor
    #210546

    Is this issue now resolved?

    Anonymous
    #210548

    Yes, everything works perfectly with the template.
    Thanks again 🙂

Viewing 7 posts - 1 through 7 (of 7 total)