[geeklog-cvs] geeklog: Allow searching by topic (without a query string) again...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Jun 13 12:11:16 EDT 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/037e7d93b0cf
changeset: 7113:037e7d93b0cf
user: Dirk Haun <dirk at haun-online.de>
date: Sat Jun 13 18:04:05 2009 +0200
description:
Allow searching by topic (without a query string) again (reported by Markus Wollschl?ger)
diffstat:
public_html/docs/history | 2 ++
system/classes/search.class.php | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 3d8864e5cccb -r 037e7d93b0cf public_html/docs/history
--- a/public_html/docs/history Sat Jun 13 17:17:36 2009 +0200
+++ b/public_html/docs/history Sat Jun 13 18:04:05 2009 +0200
@@ -11,6 +11,8 @@
+ Comment moderation and editable comments, by Jared Wenerd
Changes since 1.6.0b2:
+- Allow searching by topic (without a query string) again (reported by Markus
+ Wollschläger) [Dirk]
- Fixed handling of $_CONF['comment_close_rec_stories'] (bug #0000899) [Dirk]
- Improved selection of text portion displayed in search results [Dirk]
- Fixed an error that occured after deleting a trackback [Dirk]
diff -r 3d8864e5cccb -r 037e7d93b0cf system/classes/search.class.php
--- a/system/classes/search.class.php Sat Jun 13 17:17:36 2009 +0200
+++ b/system/classes/search.class.php Sat Jun 13 18:04:05 2009 +0200
@@ -475,7 +475,7 @@
// Make sure there is a query string
// Full text searches have a minimum word length of 3 by default
- if ((empty($this->_query) && empty($this->_author)) || ($_CONF['search_use_fulltext'] && strlen($this->_query) < 3))
+ if ((empty($this->_query) && empty($this->_author) && empty($this->_topic)) || ($_CONF['search_use_fulltext'] && strlen($this->_query) < 3))
{
$retval = '<p>' . $LANG09[41] . '</p>' . LB;
$retval .= $this->showForm();
More information about the geeklog-cvs
mailing list