aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search/fulltext_native.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-08-08 19:02:44 +0000
committerNils Adermann <naderman@naderman.de>2006-08-08 19:02:44 +0000
commitc69a6f7acd9c9c0b1293e6977fe1ec5b490725d4 (patch)
tree7b52ef2b8f7c9525cc039517d8fa98da57e8728d /phpBB/includes/search/fulltext_native.php
parent2ed25800c5ad5125740f574092098d284071300b (diff)
downloadforums-c69a6f7acd9c9c0b1293e6977fe1ec5b490725d4.tar
forums-c69a6f7acd9c9c0b1293e6977fe1ec5b490725d4.tar.gz
forums-c69a6f7acd9c9c0b1293e6977fe1ec5b490725d4.tar.bz2
forums-c69a6f7acd9c9c0b1293e6977fe1ec5b490725d4.tar.xz
forums-c69a6f7acd9c9c0b1293e6977fe1ec5b490725d4.zip
- fixed some problems with themes
- added support for {IMG_NAME_SRC}, {IMG_NAME_WIDTH} and {IMG_NAME_HEIGHT} - fulltext_native has to use group by in a few more quries git-svn-id: file:///svn/phpbb/trunk@6254 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/search/fulltext_native.php')
-rwxr-xr-xphpBB/includes/search/fulltext_native.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/search/fulltext_native.php b/phpBB/includes/search/fulltext_native.php
index 674199d69f..679ab3127e 100755
--- a/phpBB/includes/search/fulltext_native.php
+++ b/phpBB/includes/search/fulltext_native.php
@@ -370,11 +370,13 @@ class fulltext_native extends search_backend
}
$title_match = '';
+ $group_by = true;
// Build some display specific sql strings
switch ($fields)
{
case 'titleonly':
$title_match = 'title_match = 1';
+ $group_by = false;
// no break
case 'firstpost':
$sql_array['FROM'][TOPICS_TABLE] = 't';
@@ -383,6 +385,7 @@ class fulltext_native extends search_backend
case 'msgonly':
$title_match = 'title_match = 0';
+ $group_by = false;
break;
}