From 4c4e4397e8458bedab64d9f5fb06effb8255a2af Mon Sep 17 00:00:00 2001 From: conradverm Date: Tue, 23 Oct 2007 23:39:00 +0000 Subject: [PATCH] KTS-673 "The search algorithm needs some work" Updated. use path of document as it includes the full path --- search2/search/fields/FolderField.inc.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/search2/search/fields/FolderField.inc.php b/search2/search/fields/FolderField.inc.php index 6877323..68c7419 100755 --- a/search2/search/fields/FolderField.inc.php +++ b/search2/search/fields/FolderField.inc.php @@ -4,10 +4,8 @@ class FolderField extends DBFieldExpr { public function __construct() { - parent::__construct('folder_id', 'documents', _kt('Folder')); + parent::__construct('full_path', 'documents', _kt('Folder')); $this->setAlias('Folder'); - $this->joinTo('folders', 'id'); - $this->matchField('full_path'); } public function getInputRequirements() -- libgit2 0.21.4