GX-Bug #53922 » LiveSearchFix.patch
| src/GXMainComponents/Controllers/HttpView/ShopAjax/LiveSearchController.inc.php (revision ) | ||
|---|---|---|
| 39 | 39 |
: 1; |
| 40 | 40 | |
| 41 | 41 |
$getData = array( |
| 42 |
'needle' => $keywords,
|
|
| 42 |
'needle' => trim($keywords),
|
|
| 43 | 43 |
'categories_id' => $categoryId, |
| 44 | 44 |
'inc_subcat' => $includeSubCategories |
| 45 | 45 |
); |