Recent Changes - Search:

PmWiki

pmwiki.org

00897

Summary: (:searchresults options:) bug
Created: 2007-03-02 04:32
Status: Open
Category: Bug
From: Francis
Assigned:
Priority: 2
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

  • 'SearchFor' => 'Results of search for <em>$Needle</em>:',
    • becomes
      • 'SearchFor' => 'Results of search for <em>$SearchQuery</em>:',
Edit - History - Print - Recent Changes - Search
Page last modified on January 12, 2008, at 06:54 AM