We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36994 ☆ A M B ☆
    • 10 Posts
    Hi,

    SimpleSearch has bug in getPagination method (simplesearch.class.php).

    [[+link]]

    placeholder is not populated with proper values (actually it's not populated at all) causing results pagination to show broken links.

    To fix the issue go to:
    /core/components/simplesearch/model/simplesearch/simplesearch.class.php

    and replace line 228:

    $pageArray['link'] = $this->modx->makeUrl($id, $urlScheme,$parameters);


    with:

    $pageArray['link'] = $this->modx->makeUrl($id, '', $parameters, $urlScheme);


    This should fix your pagination in search results. smiley

    [ed. note: demagu last edited this post 14 years, 11 months ago.]
      ----
      regards
      demagu