Skip to content

Commit

Permalink
Merge pull request #168 from magento-firedrakes/MAGETWO-45300
Browse files Browse the repository at this point in the history
[Firedrakes] MAGETWO-45300: Update Date grids to support "From To" filter with the same date
  • Loading branch information
He, Joan(johe) committed Nov 12, 2015
2 parents a724ee7 + 7268151 commit df7f428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/Block/Widget/Grid/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ public function setFilterType($type, $className)
*/
protected function _getFilterByType()
{
$type = strtolower($this->getType());
$type = $this->getFilterType() ? strtolower($this->getFilterType()) : strtolower($this->getType());
$filterClass = isset($this->_filterTypes[$type]) ? $this->_filterTypes[$type] : $this->_filterTypes['default'];

return $filterClass;
Expand Down

0 comments on commit df7f428

Please sign in to comment.