testing search function
This commit is contained in:
parent
6ad717a3f0
commit
7db758ca78
@ -109,19 +109,19 @@ class SearchPage extends Page {
|
||||
foreach($items as $item) {
|
||||
|
||||
$mustMatchCheck = False;
|
||||
foreach ($mustIncludeArray as $mustIncludeItem) {
|
||||
foreach($mustIncludeArray as $mustIncludeItem => $i) {
|
||||
|
||||
print('DEBUG $mustMustIncludeItem: ');
|
||||
print_r($mustIncludeItem);
|
||||
print('<br>');
|
||||
|
||||
$res = $item->matches($mustIncludeItem);
|
||||
$matchResult = $item->matches($mustIncludeItem);
|
||||
|
||||
print('DEBUG $res: ');
|
||||
var_dump($res);
|
||||
var_dump($matchResult);
|
||||
print('<br>');
|
||||
|
||||
if($res) {
|
||||
if($matchResult) {
|
||||
$mustMatchCheck = True;
|
||||
print('DEBUG $mustMatchCheck: TRUE <br>');
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user