create new tag
, view all tags

Bug: METASEARRCH default parameter doesn't work

The default parameter in METASEARCH is intended to provide text for use when the search returns no results. However it doesn't work.

The implementation looks for the search returning a result containing just whitespace. However the search uses a template, searchmeta, that may (as in the current case) contain default text so that the search never returns whitespace.

There really ought to be a better way to do this, probably involving changing searchWeb to take a formatting object instead of doing everything in that mega-function.

-- CrawfordCurrie - 03 Jan 2005

Topic revision: r1 - 2005-01-03 - CrawfordCurrie
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.