Commit b865c645a6c544f9d81f39514d5f7845e7ade4bd

Authored by nbm
1 parent f84b84d7

Remove unused include of PatternBrowsableSearchResults and

already-implemented TODOs.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4324 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/search/booleanSearch.php
... ... @@ -8,7 +8,6 @@ require_once(KT_LIB_DIR . "/database/dbutil.inc");
8 8 require_once(KT_LIB_DIR . "/util/ktutil.inc");
9 9 require_once(KT_LIB_DIR . "/dispatcher.inc.php");
10 10 require_once(KT_LIB_DIR . "/browse/Criteria.inc");
11   -require_once(KT_LIB_DIR . "/visualpatterns/PatternBrowsableSearchResults.inc");
12 11 require_once(KT_LIB_DIR . "/search/savedsearch.inc.php");
13 12 require_once(KT_LIB_DIR . '/search/searchutil.inc.php');
14 13  
... ... @@ -35,12 +34,6 @@ class BooleanSearchDispatcher extends KTStandardDispatcher {
35 34 }
36 35  
37 36 function do_performSearch() {
38   - // TODO first extract environ vars
39   - // TODO second create criterion objects (see getAdvancedSearchResults for this.
40   - // TODO third get each one to generate the SQL snippet. (ENSURE that they are wrapped in '('..')' )
41   - // TODO fourth array().join(' AND ') where appropriate
42   - // TODO finally return via PatternBrowseableSearchResults (urgh.)
43   -
44 37 $datavars = KTUtil::arrayGet($_REQUEST, 'boolean_search');
45 38 if (!is_array($datavars)) {
46 39 $datavars = unserialize($datavars);
... ...