diff --git a/search/booleanSearch.php b/search/booleanSearch.php index 8eebfc4..f66801d 100755 --- a/search/booleanSearch.php +++ b/search/booleanSearch.php @@ -84,10 +84,11 @@ class BooleanSearchDispatcher extends KTStandardDispatcher { $collection = new DocumentCollection; $this->browseType = "Folder"; - $collection->addColumn(new SelectionColumn("Browse Selection","selection")); + //$collection->addColumn(new SelectionColumn("Browse Selection","selection")); $t =& new TitleColumn("Test 1 (title)","title"); $t->setOptions(array('documenturl' => $GLOBALS['KTRootUrl'] . '/view.php')); $collection->addColumn($t); + $collection->addColumn(new DownloadColumn('','download')); $collection->addColumn(new DateColumn(_("Created"),"created", "getCreatedDateTime")); $collection->addColumn(new DateColumn(_("Last Modified"),"modified", "getLastModifiedDate")); $collection->addColumn(new UserColumn(_('Creator'),'creator_id','getCreatorID')); diff --git a/search/simpleSearch.php b/search/simpleSearch.php index cc5e44d..762d588 100644 --- a/search/simpleSearch.php +++ b/search/simpleSearch.php @@ -143,11 +143,16 @@ class SimpleSearchDispatcher extends KTStandardDispatcher { $collection = new DocumentCollection; $this->browseType = "Folder"; - $collection->addColumn(new SelectionColumn("Browse Selection","selection")); + //$collection->addColumn(new SelectionColumn("Browse Selection","selection")); + /* $t = new SimpleSearchTitleColumn("Test 1 (title)","title"); $t->setOptions(array('documenturl' => $GLOBALS['KTRootUrl'] . '/view.php')); $t->setSearch($searchable_text); + */ + $t =& new TitleColumn("Test 1 (title)","title"); + $t->setOptions(array('documenturl' => $GLOBALS['KTRootUrl'] . '/view.php')); $collection->addColumn($t); + $collection->addColumn(new DownloadColumn('','download')); $collection->addColumn(new DateColumn(_("Created"),"created", "getCreatedDateTime")); $collection->addColumn(new DateColumn(_("Last Modified"),"modified", "getLastModifiedDate")); $collection->addColumn(new UserColumn(_('Creator'),'creator_id','getCreatorID'));