From ba1fb7bd7ff145d4608dabf79ae1514ec192a426 Mon Sep 17 00:00:00 2001 From: rurban Date: Thu, 26 Feb 2004 04:27:39 +0000 Subject: [PATCH] wrong limit notification git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3063 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/plugin/FullTextSearch.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/plugin/FullTextSearch.php b/lib/plugin/FullTextSearch.php index b7e962e46..b213c4d8f 100644 --- a/lib/plugin/FullTextSearch.php +++ b/lib/plugin/FullTextSearch.php @@ -1,5 +1,5 @@ pushContent($this->showhits($page, $hilight_re)); } - if ($count >= $limit) + if ($limit and $count >= $limit) $list->pushContent(HTML::dd(fmt("only %d pages displayed",$limit))); if (!$list->getContent()) $list->pushContent(HTML::dd(_(""))); @@ -122,6 +122,9 @@ extends WikiPlugin }; // $Log: not supported by cvs2svn $ +// Revision 1.18 2004/02/26 04:24:03 rurban +// simplify quiet handling by using PageList +// // Revision 1.17 2004/02/26 04:03:39 rurban // added quiet, limit and exclude to FullTextSearch, // fixed explodePageList with previously unloaded PageList -- 2.45.0