Skip to content

Commit f97d83e

Browse files
committed
remove alumni access facet
1 parent eb53ea6 commit f97d83e

File tree

1 file changed

+3
-34
lines changed
  • scripts/storage-finder-data-generator

1 file changed

+3
-34
lines changed

scripts/storage-finder-data-generator/config.ts

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -58,26 +58,19 @@ export const FIELD_DEFINITIONS: ServiceFieldDefinition[] = [
5858
weight: 9,
5959
formatter: (value) => toHtmlBlocks(value),
6060
},
61-
{
62-
fieldKey: "field_alumni_access",
63-
column: "Alumni Access",
64-
label: "Alumni Access",
65-
weight: 10,
66-
formatter: (value) => toHtmlBlocks(value),
67-
},
6861
{
6962
fieldKey: "field_backup",
7063
column: "Backup",
7164
label: "Backup",
72-
weight: 11,
65+
weight: 10,
7366
formatter: (value) => toHtmlBlocks(value),
7467
},
7568
{
7669
fieldKey: "field_additional_features",
7770
column:
7871
"Additional capabilites (Access controls, \nautomated workflows, code sharing,\n data replication, instrument data transfer,\n DOI generation, large data transfers,\n version control)",
7972
label: "Additional Features",
80-
weight: 12,
73+
weight: 11,
8174
formatter: (value) => toHtmlBlocks(value),
8275
},
8376
];
@@ -284,28 +277,6 @@ export const FACET_CONFIGS: FacetConfig[] = [
284277
],
285278
fallback: "all",
286279
},
287-
{
288-
id: "alumni-access",
289-
name: "Do you need alumni to have access to your data?",
290-
description: null,
291-
column: "Alumni Access",
292-
controlType: "radio",
293-
choices: [
294-
{ id: "alumni-access.yes", name: "Yes", weight: 0 },
295-
{ id: "alumni-access.no", name: "No", weight: 1 },
296-
],
297-
matchers: [
298-
{
299-
pattern: /\bNot Available\b/i,
300-
choices: ["alumni-access.no"],
301-
},
302-
{
303-
pattern: /^\s*Available/im,
304-
choices: ["alumni-access.yes"],
305-
},
306-
],
307-
fallback: "all",
308-
},
309280
{
310281
id: "storage-duration",
311282
name: "What is your storage duration need?",
@@ -477,9 +448,7 @@ export const FACET_CONFIGS: FacetConfig[] = [
477448
},
478449
{
479450
pattern: /\b(not available)\b/i,
480-
choices: [
481-
"storage-capacity.small",
482-
],
451+
choices: ["storage-capacity.small"],
483452
},
484453
],
485454
fallback: "all",

0 commit comments

Comments
 (0)