File tree Expand file tree Collapse file tree 4 files changed +21
-13
lines changed
Cms/view/adminhtml/ui_component
view/base/web/js/form/element Expand file tree Collapse file tree 4 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 85
85
<item name =" provider" xsi : type =" string" >cms_block_listing.cms_block_listing.listing_top.bookmarks</item >
86
86
<item name =" namespace" xsi : type =" string" >current.filters</item >
87
87
</item >
88
+ <item name =" templates" xsi : type =" array" >
89
+ <item name =" filters" xsi : type =" array" >
90
+ <item name =" select" xsi : type =" array" >
91
+ <item name =" component" xsi : type =" string" >Magento_Ui/js/form/element/ui-select</item >
92
+ <item name =" template" xsi : type =" string" >ui/grid/filters/elements/ui-select</item >
93
+ </item >
94
+ </item >
95
+ </item >
88
96
<item name =" childDefaults" xsi : type =" array" >
89
97
<item name =" provider" xsi : type =" string" >cms_block_listing.cms_block_listing.listing_top.listing_filters</item >
90
98
<item name =" imports" xsi : type =" array" >
Original file line number Diff line number Diff line change 86
86
<item name =" provider" xsi : type =" string" >cms_page_listing.cms_page_listing.listing_top.bookmarks</item >
87
87
<item name =" namespace" xsi : type =" string" >current.filters</item >
88
88
</item >
89
+ <item name =" templates" xsi : type =" array" >
90
+ <item name =" filters" xsi : type =" array" >
91
+ <item name =" select" xsi : type =" array" >
92
+ <item name =" component" xsi : type =" string" >Magento_Ui/js/form/element/ui-select</item >
93
+ <item name =" template" xsi : type =" string" >ui/grid/filters/elements/ui-select</item >
94
+ </item >
95
+ </item >
96
+ </item >
89
97
<item name =" childDefaults" xsi : type =" array" >
90
98
<item name =" provider" xsi : type =" string" >cms_page_listing.cms_page_listing.listing_top.listing_filters</item >
91
99
<item name =" imports" xsi : type =" array" >
Original file line number Diff line number Diff line change @@ -73,6 +73,11 @@ public function update(UiComponentInterface $component)
73
73
{
74
74
if ($ component instanceof ColumnInterface) {
75
75
$ filterType = $ component ->getData ('config/filter ' );
76
+
77
+ if (is_array ($ filterType )) {
78
+ $ filterType = $ filterType ['filterType ' ];
79
+ }
80
+
76
81
if (!$ filterType ) {
77
82
return ;
78
83
}
Original file line number Diff line number Diff line change @@ -57,19 +57,6 @@ define([
57
57
}
58
58
} ,
59
59
60
- /**
61
- * Extends instance with defaults, extends config with formatted values
62
- * and options, and invokes initialize method of AbstractElement class.
63
- *
64
- * @returns {Object } Chainable
65
- */
66
- initialize : function ( ) {
67
- this . _super ( )
68
- . initOptions ( ) ;
69
-
70
- return this ;
71
- } ,
72
-
73
60
/**
74
61
* Parses options and merges the result with instance
75
62
*
You can’t perform that action at this time.
0 commit comments