File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Backend/Block/Widget Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -300,11 +300,11 @@ protected function _addColumnFilterToCollection($column)
300
300
if ($ this ->getCollection ()) {
301
301
$ field = $ column ->getFilterIndex () ? $ column ->getFilterIndex () : $ column ->getIndex ();
302
302
if ($ column ->getFilterConditionCallback ()) {
303
- $ class = isset ($ column ->getFilterConditionCallback ()['class ' ])
304
- ? $ column ->getFilterConditionCallback ()['class ' ] : $ column ->getFilterConditionCallback ()[0 ];
303
+ $ object = isset ($ column ->getFilterConditionCallback ()['object ' ])
304
+ ? $ column ->getFilterConditionCallback ()['object ' ] : $ column ->getFilterConditionCallback ()[0 ];
305
305
$ method = isset ($ column ->getFilterConditionCallback ()['method ' ])
306
306
? $ column ->getFilterConditionCallback ()['method ' ] : $ column ->getFilterConditionCallback ()[1 ];
307
- $ class ->$ method (
307
+ $ object ->$ method (
308
308
$ this ->getCollection (),
309
309
$ column
310
310
);
You can’t perform that action at this time.
0 commit comments