Skip to content

Commit f0bbf54

Browse files
ENGCOM-4082: [backport] Exceptions when search product with sku like '42-' #20876
- Merge Pull Request #20876 from Nazar65/magento2:backport-issue-20716 - Merged commits: 1. 49d09cf
2 parents d700436 + 49d09cf commit f0bbf54

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/Search/Adapter/Mysql/Query/Builder

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Search/Adapter/Mysql/Query/Builder/Match.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Match implements QueryInterface
2424
/**
2525
* @var string
2626
*/
27-
const SPECIAL_CHARACTERS = '+~/\\<>\'":*$#@()!,.?`=%&^';
27+
const SPECIAL_CHARACTERS = '-+~/\\<>\'":*$#@()!,.?`=%&^';
2828

2929
const MINIMAL_CHARACTER_LENGTH = 3;
3030

0 commit comments

Comments
 (0)