|
Main sidebar
|
PITS /
00897Summary: (:searchresults options:) bug
Created: 2007-03-02 04:32
Status: Open
Category: Bug
From: Francis
Assigned:
Priority: 432
Version: 2.2.0.beta31
OS:
Description: Using options for searchresults causes the options to be returned in the search query repetition. e.g. (:searchresults group=main fmt=#search:) Results in the text Results of search for group=main fmt=#search your text Solution:I fixed this by editing the following line in pagelist.php
Better solutionAdd to config.php: XLSDV('en', array('SearchFor' => 'Results of search for <em>$SearchQuery</em>:')); ...and fix any language packs you have installed. This will then survive any core PmWiki updates. Another place where this failshttp://www.pmwiki.org/wiki/Test/SearchParamsLeak $Needle gets "dirtied" by the sub-pagelist parameter. |