Skip to content

Commit 7bf27a5

Browse files
committed
ACP2E-2127: Date filter is not working in admin grid.
- Fixed the static test failure.
1 parent 93dbcc0 commit 7bf27a5

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Ui/Component/Filters/Type

1 file changed

+2
-2
lines changed

app/code/Magento/Ui/Component/Filters/Type/Date.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ protected function applyFilter()
8484

8585
if (is_array($value)) {
8686
if (isset($value['from'])) {
87-
if (!$this->getData('config/options/showsTime') && $this->getData('config/dateFormat')) {
87+
if (!$this->getData('config/options/showsTime') && $this->getData('config/dateFormat')) {
8888
$value['from'] = $this->wrappedComponent->convertDateFormat(
8989
$value['from'],
9090
$this->getData('config/dateFormat')
@@ -97,7 +97,7 @@ protected function applyFilter()
9797
}
9898

9999
if (isset($value['to'])) {
100-
if (!$this->getData('config/options/showsTime') && $this->getData('config/dateFormat')) {
100+
if (!$this->getData('config/options/showsTime') && $this->getData('config/dateFormat')) {
101101
$value['to'] = $this->wrappedComponent->convertDateFormat(
102102
$value['to'],
103103
$this->getData('config/dateFormat')

0 commit comments

Comments
 (0)