Skip to content

Commit df7f428

Browse files
author
He, Joan(johe)
committed
Merge pull request #168 from magento-firedrakes/MAGETWO-45300
[Firedrakes] MAGETWO-45300: Update Date grids to support "From To" filter with the same date
2 parents a724ee7 + 7268151 commit df7f428

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Backend/Block/Widget/Grid

1 file changed

+1
-1
lines changed

app/code/Magento/Backend/Block/Widget/Grid/Column.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ public function setFilterType($type, $className)
447447
*/
448448
protected function _getFilterByType()
449449
{
450-
$type = strtolower($this->getType());
450+
$type = $this->getFilterType() ? strtolower($this->getFilterType()) : strtolower($this->getType());
451451
$filterClass = isset($this->_filterTypes[$type]) ? $this->_filterTypes[$type] : $this->_filterTypes['default'];
452452

453453
return $filterClass;

0 commit comments

Comments
 (0)