testing search function
This commit is contained in:
parent
b73524023d
commit
6097c772ee
@ -102,8 +102,6 @@ class SearchPage extends Page {
|
||||
print_r($canIncludeArray);
|
||||
print('<br>');
|
||||
|
||||
|
||||
|
||||
$items = get_items($type);
|
||||
$out = array();
|
||||
|
||||
@ -115,6 +113,9 @@ class SearchPage extends Page {
|
||||
// if resultExclude is matching, do === nothing ===
|
||||
|
||||
} else {
|
||||
$canIncludeResult = $item->matches($canIncludeArray);
|
||||
$out[] = array($item, $canIncludeResult);
|
||||
/*
|
||||
$mustIncludeCheck = False;
|
||||
if(count($mustIncludeArray) > 0) {
|
||||
foreach($mustIncludeArray as $mustIncludeArgument) {
|
||||
@ -135,7 +136,7 @@ class SearchPage extends Page {
|
||||
$mustIncludeResult = $item->matches($mustIncludeArray);
|
||||
$out[] = array($item, $mustIncludeResult);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user