Skip to:
Content
Pages
Categories
Search
Top
Bottom

Topic search result pagination issue


  • stevendo
    Participant

    @stevendo

    Hi guys,

    I am implementing a search feature on the single forum page which displays the topic list of the current forum. Looks like all I have to do is to add the parameter “ts=<search-term>” in the URL’s query string. This works well. But the problem is that when there are more than one page, the URL of page 2 (or next pages) will not contain the search term in the query string.

    How to make the pagination work with the search result?

    Steven

Viewing 1 replies (of 1 total)

  • stevendo
    Participant

    @stevendo

    Oh, well, I found my own solution.
    That is to add a filter for the hook “bbp_topic_pagination” and alter the base url.

    Steven

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar