File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
app/code/Magento/Cms/Model/ResourceModel Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,9 @@ protected function _initSelect()
96
96
97
97
if ($ tableDescription ) {
98
98
foreach ($ tableDescription as $ columnInfo ) {
99
- $ this ->addFilterToMap ($ columnInfo ['COLUMN_NAME ' ], 'main_table. ' . $ columnInfo ['COLUMN_NAME ' ]);
99
+ if ($ columnInfo ['COLUMN_NAME ' ] === 'creation_time ' || $ columnInfo ['COLUMN_NAME ' ] === 'update_time ' ) {
100
+ $ this ->addFilterToMap ($ columnInfo ['COLUMN_NAME ' ], 'main_table. ' .$ columnInfo ['COLUMN_NAME ' ]);
101
+ }
100
102
}
101
103
}
102
104
Original file line number Diff line number Diff line change @@ -96,7 +96,9 @@ protected function _initSelect()
96
96
97
97
if ($ tableDescription ) {
98
98
foreach ($ tableDescription as $ columnInfo ) {
99
- $ this ->addFilterToMap ($ columnInfo ['COLUMN_NAME ' ], 'main_table. ' .$ columnInfo ['COLUMN_NAME ' ]);
99
+ if ($ columnInfo ['COLUMN_NAME ' ] === 'creation_time ' || $ columnInfo ['COLUMN_NAME ' ] === 'update_time ' ) {
100
+ $ this ->addFilterToMap ($ columnInfo ['COLUMN_NAME ' ], 'main_table. ' .$ columnInfo ['COLUMN_NAME ' ]);
101
+ }
100
102
}
101
103
}
102
104
You can’t perform that action at this time.
0 commit comments