We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcda524 commit f88c451Copy full SHA for f88c451
lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php
@@ -2713,14 +2713,11 @@ public function prepareSqlCondition($fieldName, $condition)
2713
'to' => "{{fieldName}} <= ?",
2714
'seq' => null,
2715
'sneq' => null,
2716
+ 'ntoa' => "INET_NTOA({{fieldName}}) LIKE ?",
2717
];
2718
2719
$query = '';
2720
if (is_array($condition)) {
- if (isset($condition['field_expr'])) {
2721
- $fieldName = str_replace('#?', $this->quoteIdentifier($fieldName), $condition['field_expr']);
2722
- unset($condition['field_expr']);
2723
- }
2724
$key = key(array_intersect_key($condition, $conditionKeyMap));
2725
2726
if (isset($condition['from']) || isset($condition['to'])) {
0 commit comments