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 61282d5 commit dafa2baCopy full SHA for dafa2ba
app/code/core/Mage/Adminhtml/Block/Widget/Grid.php
@@ -467,7 +467,11 @@ protected function _addColumnFilterToCollection($column)
467
} else {
468
$cond = $column->getFilter()->getCondition();
469
if ($field && isset($cond)) {
470
- $this->getCollection()->addFieldToFilter($field , $cond);
+ if (in_array('NULL', array_values($cond), true)) {
471
+ $this->getCollection()->addFieldToFilter($field, array('null' => true));
472
+ } else {
473
+ $this->getCollection()->addFieldToFilter($field, $cond);
474
+ }
475
}
476
477
0 commit comments