testing search function
This commit is contained in:
parent
70ad97daf6
commit
6a177bd615
@ -29,7 +29,7 @@ class SearchPage extends Page {
|
||||
return $out;
|
||||
}
|
||||
foreach(array('user', 'product') as $type) {
|
||||
print('DEBUG === $type:');
|
||||
print('=== DEBUG $type:');
|
||||
print_r($type);
|
||||
print(' ===<br>');
|
||||
print('<br>');
|
||||
@ -114,6 +114,10 @@ class SearchPage extends Page {
|
||||
|
||||
$res = $item->matches($mustIncludeTerm);
|
||||
|
||||
print('DEBUG VARDUMP $res: ');
|
||||
var_dump($res);
|
||||
print('<br>');
|
||||
|
||||
// $mustIncludeTermCheck = $item->matches($mustIncludeTerm); // matchar inte korrekt???
|
||||
// if ($mustIncludeTermCheck) {
|
||||
// $mustMatchCheck[] = array(True);
|
||||
|
Loading…
x
Reference in New Issue
Block a user