Commit ceae4aa06f313cb02d9f72f87f4fab673a1d27dd
1 parent
303d9906
hide nbm's search-title work.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4991 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
8 additions
and
2 deletions
search/booleanSearch.php
| ... | ... | @@ -84,10 +84,11 @@ class BooleanSearchDispatcher extends KTStandardDispatcher { |
| 84 | 84 | $collection = new DocumentCollection; |
| 85 | 85 | $this->browseType = "Folder"; |
| 86 | 86 | |
| 87 | - $collection->addColumn(new SelectionColumn("Browse Selection","selection")); | |
| 87 | + //$collection->addColumn(new SelectionColumn("Browse Selection","selection")); | |
| 88 | 88 | $t =& new TitleColumn("Test 1 (title)","title"); |
| 89 | 89 | $t->setOptions(array('documenturl' => $GLOBALS['KTRootUrl'] . '/view.php')); |
| 90 | 90 | $collection->addColumn($t); |
| 91 | + $collection->addColumn(new DownloadColumn('','download')); | |
| 91 | 92 | $collection->addColumn(new DateColumn(_("Created"),"created", "getCreatedDateTime")); |
| 92 | 93 | $collection->addColumn(new DateColumn(_("Last Modified"),"modified", "getLastModifiedDate")); |
| 93 | 94 | $collection->addColumn(new UserColumn(_('Creator'),'creator_id','getCreatorID')); | ... | ... |
search/simpleSearch.php
| ... | ... | @@ -143,11 +143,16 @@ class SimpleSearchDispatcher extends KTStandardDispatcher { |
| 143 | 143 | $collection = new DocumentCollection; |
| 144 | 144 | $this->browseType = "Folder"; |
| 145 | 145 | |
| 146 | - $collection->addColumn(new SelectionColumn("Browse Selection","selection")); | |
| 146 | + //$collection->addColumn(new SelectionColumn("Browse Selection","selection")); | |
| 147 | + /* | |
| 147 | 148 | $t = new SimpleSearchTitleColumn("Test 1 (title)","title"); |
| 148 | 149 | $t->setOptions(array('documenturl' => $GLOBALS['KTRootUrl'] . '/view.php')); |
| 149 | 150 | $t->setSearch($searchable_text); |
| 151 | + */ | |
| 152 | + $t =& new TitleColumn("Test 1 (title)","title"); | |
| 153 | + $t->setOptions(array('documenturl' => $GLOBALS['KTRootUrl'] . '/view.php')); | |
| 150 | 154 | $collection->addColumn($t); |
| 155 | + $collection->addColumn(new DownloadColumn('','download')); | |
| 151 | 156 | $collection->addColumn(new DateColumn(_("Created"),"created", "getCreatedDateTime")); |
| 152 | 157 | $collection->addColumn(new DateColumn(_("Last Modified"),"modified", "getLastModifiedDate")); |
| 153 | 158 | $collection->addColumn(new UserColumn(_('Creator'),'creator_id','getCreatorID')); | ... | ... |