diff --git a/CHANGELOG.md b/CHANGELOG.md index cf08ceec1..787cb60c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Update email copy for list completion [#1709](https://github.com/open-apparel-registry/open-apparel-registry/pull/1709) - Remove the redundant workers suffix when showing value [#1715](https://github.com/open-apparel-registry/open-apparel-registry/pull/1715/files) - Update copy on list pages [#1719](https://github.com/open-apparel-registry/open-apparel-registry/pull/1719) +- Remove native language name from filter sidebar [#1722](https://github.com/open-apparel-registry/open-apparel-registry/pull/1722) ### Deprecated diff --git a/src/app/src/components/FilterSidebarSearchTab.jsx b/src/app/src/components/FilterSidebarSearchTab.jsx index 188cdcec9..317d52144 100644 --- a/src/app/src/components/FilterSidebarSearchTab.jsx +++ b/src/app/src/components/FilterSidebarSearchTab.jsx @@ -114,7 +114,6 @@ const FACILITY_TYPE = 'FACILITY_TYPE'; const PROCESSING_TYPE = 'PROCESSING_TYPE'; const PRODUCT_TYPE = 'PRODUCT_TYPE'; const NUMBER_OF_WORKERS = 'NUMBER_OF_WORKERS'; -const NATIVE_LANGUAGE_NAME = 'NATIVE_LANGUAGE_NAME'; const mapFacilityTypeOptions = (fPTypes, pTypes) => { let fTypes = []; @@ -181,8 +180,6 @@ function FilterSidebarSearchTab({ updateProductType, numberOfWorkers, updateNumberOfWorkers, - nativeLanguageName, - updateNativeLanguageName, combineContributors, updateCombineContributors, fetchingFacilities, @@ -210,7 +207,6 @@ function FilterSidebarSearchTab({ processingType, productType, numberOfWorkers, - nativeLanguageName, ]; const allFields = extendedFields.concat([ @@ -767,25 +763,6 @@ function FilterSidebarSearchTab({ disabled={fetchingOptions || fetchingFacilities} /> -
- - Native Language Name - - -
{searchResetButtonGroup()}
@@ -849,7 +826,6 @@ FilterSidebarSearchTab.propTypes = { processingType: processingTypeOptionsPropType.isRequired, productType: productTypeOptionsPropType.isRequired, numberOfWorkers: numberOfWorkerOptionsPropType.isRequired, - nativeLanguageName: string.isRequired, combineContributors: string.isRequired, ppe: string.isRequired, fetchingFacilities: bool.isRequired,