11export enum FilterKind {
22 SINGLE_SELECT = "SINGLE_SELECT" ,
33 RANGE = "RANGE" ,
4- MULTI_SELECT_WITH_SEARCH = "MULTI_SELECT_WITH_SEARCH" ,
4+ MULTI_SELECT = "MULTI_SELECT" ,
5+ ORDER = "ORDER" ,
6+ ORDER_BY = "ORDER_BY" ,
57}
68
79export const SINGLE_SELECT_OPTIONS = {
@@ -84,15 +86,15 @@ export const FILTER_CONFIG_PRESETS = {
8486 label : "Ecosystems" ,
8587 show : true ,
8688 googleAnalyticsEventName : "filter_search_ecosystems" ,
87- kind : FilterKind . MULTI_SELECT_WITH_SEARCH ,
89+ kind : FilterKind . MULTI_SELECT ,
8890 prefix : null ,
8991 } ,
9092 communities : {
9193 position : 2 ,
9294 label : "Communities" ,
9395 show : true ,
9496 googleAnalyticsEventName : "filter_search_communities" ,
95- kind : FilterKind . MULTI_SELECT_WITH_SEARCH ,
97+ kind : FilterKind . MULTI_SELECT ,
9698 prefix : null ,
9799 } ,
98100 tvl : {
@@ -156,15 +158,15 @@ export const FILTER_CONFIG_PRESETS = {
156158 label : "Order" ,
157159 show : true ,
158160 googleAnalyticsEventName : "filter_search_order" ,
159- kind : FilterKind . SINGLE_SELECT ,
161+ kind : FilterKind . ORDER ,
160162 options : SINGLE_SELECT_OPTIONS . projects . order ,
161163 } ,
162164 orderBy : {
163165 position : 11 ,
164166 label : "Order By" ,
165167 show : true ,
166168 googleAnalyticsEventName : "filter_search_order_by" ,
167- kind : FilterKind . SINGLE_SELECT ,
169+ kind : FilterKind . ORDER_BY ,
168170 options : SINGLE_SELECT_OPTIONS . projects . orderBy ,
169171 } ,
170172 } ,
@@ -182,15 +184,15 @@ export const FILTER_CONFIG_PRESETS = {
182184 label : "Communities" ,
183185 show : true ,
184186 googleAnalyticsEventName : "filter_search_communities" ,
185- kind : FilterKind . MULTI_SELECT_WITH_SEARCH ,
187+ kind : FilterKind . MULTI_SELECT ,
186188 prefix : null ,
187189 } ,
188190 ecosystems : {
189191 position : 3 ,
190192 label : "Ecosystems" ,
191193 show : true ,
192194 googleAnalyticsEventName : "filter_search_ecosystems" ,
193- kind : FilterKind . MULTI_SELECT_WITH_SEARCH ,
195+ kind : FilterKind . MULTI_SELECT ,
194196 prefix : null ,
195197 } ,
196198 hasProjects : {
@@ -214,15 +216,15 @@ export const FILTER_CONFIG_PRESETS = {
214216 label : "Order" ,
215217 show : true ,
216218 googleAnalyticsEventName : "filter_search_order" ,
217- kind : FilterKind . SINGLE_SELECT ,
219+ kind : FilterKind . ORDER ,
218220 options : SINGLE_SELECT_OPTIONS . organizations . order ,
219221 } ,
220222 orderBy : {
221223 position : 7 ,
222224 label : "Order By" ,
223225 show : true ,
224226 googleAnalyticsEventName : "filter_search_order_by" ,
225- kind : FilterKind . SINGLE_SELECT ,
227+ kind : FilterKind . ORDER_BY ,
226228 options : SINGLE_SELECT_OPTIONS . organizations . orderBy ,
227229 } ,
228230 } ,
@@ -248,15 +250,15 @@ export const FILTER_CONFIG_PRESETS = {
248250 label : "Order" ,
249251 show : true ,
250252 googleAnalyticsEventName : "filter_search_order" ,
251- kind : FilterKind . SINGLE_SELECT ,
253+ kind : FilterKind . ORDER ,
252254 options : SINGLE_SELECT_OPTIONS . grants . order ,
253255 } ,
254256 orderBy : {
255257 position : 4 ,
256258 label : "Order By" ,
257259 show : true ,
258260 googleAnalyticsEventName : "filter_search_order_by" ,
259- kind : FilterKind . SINGLE_SELECT ,
261+ kind : FilterKind . ORDER_BY ,
260262 options : SINGLE_SELECT_OPTIONS . grants . orderBy ,
261263 } ,
262264 } ,
@@ -267,15 +269,15 @@ export const FILTER_CONFIG_PRESETS = {
267269 label : "Order" ,
268270 show : true ,
269271 googleAnalyticsEventName : "filter_search_order" ,
270- kind : FilterKind . SINGLE_SELECT ,
272+ kind : FilterKind . ORDER ,
271273 options : SINGLE_SELECT_OPTIONS . impact . order ,
272274 } ,
273275 orderBy : {
274276 position : 11 ,
275277 label : "Order By" ,
276278 show : true ,
277279 googleAnalyticsEventName : "filter_search_order_by" ,
278- kind : FilterKind . SINGLE_SELECT ,
280+ kind : FilterKind . ORDER_BY ,
279281 options : SINGLE_SELECT_OPTIONS . impact . orderBy ,
280282 } ,
281283 } ,
0 commit comments