+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Sitefinity 5 search results widget pagination doesn't work.

Sitefinity 5 search results widget pagination doesn't work.

4 posts, 0 answered
  1. Erik
    Erik avatar
    62 posts
    Registered:
    02 May 2011
    18 May 2012
    Link to this post
    I dropped the search results widget on a page and dropped a search box in the header of my page. I created a basic index and then went a searching. The search results show up fine but if I try to use the pagination controls to see the next page of results, I always get a 404 error. All it seems to do is add /page/2/ to the url. Here is what my url looks like for my search results page:

    http://mydomain.com/search?indexCatalogue=basic&searchQuery=news&wordsMode=0

    then it changes to this when i click the second page

    http://mydomain.com/search/page/2/?indexCatalogue=basic&searchQuery=news&wordsMode=0

  2. Erik
    Erik avatar
    62 posts
    Registered:
    02 May 2011
    21 May 2012
    Link to this post
    I hope someone can give me an answer tonight. If I don't have one then I'll start writing my own search widget in the morning... and that would make me sad :(
  3. Erik
    Erik avatar
    62 posts
    Registered:
    02 May 2011
    22 May 2012
    Link to this post
    I figured out that the issue was that I didn't have "Allow Parameter Validation" checked for the search results page. Whatever that does...
  4. Richard
    Richard avatar
    103 posts
    Registered:
    04 Apr 2013
    25 Jul 2014
    Link to this post

    Beauty. Thanks for the save. 

4 posts, 0 answered