splittingred/SimpleSearch — Issue #59: Pagination links not populated properly
Author: demagu
Created: 2011-11-06 23:21:12+00:00
State: open

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