diff --git a/src/components/facet-browser/__snapshots__/helper.ts.snap b/src/components/facet-browser/__snapshots__/helper.ts.snap index bc820b9879..925882262b 100644 --- a/src/components/facet-browser/__snapshots__/helper.ts.snap +++ b/src/components/facet-browser/__snapshots__/helper.ts.snap @@ -71,7 +71,7 @@ exports[`formatFacetTerms > should format facet terms 1`] = ` exports[`getPlaceHolderFacets > should get placeholder facets 1`] = ` [ { - "name": "mainLanguages", + "name": "workTypes", "values": [ { "key": "", @@ -80,7 +80,7 @@ exports[`getPlaceHolderFacets > should get placeholder facets 1`] = ` ], }, { - "name": "accessTypes", + "name": "creators", "values": [ { "key": "", @@ -89,7 +89,7 @@ exports[`getPlaceHolderFacets > should get placeholder facets 1`] = ` ], }, { - "name": "childrenOrAdults", + "name": "subjects", "values": [ { "key": "", @@ -98,7 +98,7 @@ exports[`getPlaceHolderFacets > should get placeholder facets 1`] = ` ], }, { - "name": "creators", + "name": "fictionNonfiction", "values": [ { "key": "", @@ -107,7 +107,7 @@ exports[`getPlaceHolderFacets > should get placeholder facets 1`] = ` ], }, { - "name": "fictionNonfiction", + "name": "childrenOrAdults", "values": [ { "key": "", @@ -116,7 +116,7 @@ exports[`getPlaceHolderFacets > should get placeholder facets 1`] = ` ], }, { - "name": "fictionalCharacters", + "name": "accessTypes", "values": [ { "key": "", @@ -125,7 +125,7 @@ exports[`getPlaceHolderFacets > should get placeholder facets 1`] = ` ], }, { - "name": "genreAndForm", + "name": "mainLanguages", "values": [ { "key": "", @@ -134,7 +134,7 @@ exports[`getPlaceHolderFacets > should get placeholder facets 1`] = ` ], }, { - "name": "materialTypesSpecific", + "name": "genreAndForm", "values": [ { "key": "", @@ -143,7 +143,7 @@ exports[`getPlaceHolderFacets > should get placeholder facets 1`] = ` ], }, { - "name": "subjects", + "name": "materialTypesSpecific", "values": [ { "key": "", @@ -152,7 +152,7 @@ exports[`getPlaceHolderFacets > should get placeholder facets 1`] = ` ], }, { - "name": "workTypes", + "name": "fictionalCharacters", "values": [ { "key": "", diff --git a/src/components/facet-browser/helper.ts b/src/components/facet-browser/helper.ts index f273e5d3ff..250a23f8f6 100644 --- a/src/components/facet-browser/helper.ts +++ b/src/components/facet-browser/helper.ts @@ -10,16 +10,16 @@ import { Filter, FilterItemTerm } from "../../core/filter.slice"; import invalidSwitchCase from "../../core/utils/helpers/invalid-switch-case"; export const allFacetFields = [ - FacetField.MainLanguages, - FacetField.AccessTypes, - FacetField.ChildrenOrAdults, + FacetField.WorkTypes, FacetField.Creators, + FacetField.Subjects, FacetField.FictionNonfiction, - FacetField.FictionalCharacters, + FacetField.ChildrenOrAdults, + FacetField.AccessTypes, + FacetField.MainLanguages, FacetField.GenreAndForm, FacetField.MaterialTypesSpecific, - FacetField.Subjects, - FacetField.WorkTypes + FacetField.FictionalCharacters ]; export const getPlaceHolderFacets = (facets: string[]) =>