From c39c62e25fe0c572f24a0daf6971810cad3bb201 Mon Sep 17 00:00:00 2001 From: Austen Money Date: Tue, 7 Jan 2025 15:40:52 -0500 Subject: [PATCH 1/2] fix boolean filter --- context/app/static/js/pages/search/DevSearch.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context/app/static/js/pages/search/DevSearch.jsx b/context/app/static/js/pages/search/DevSearch.jsx index 6510a7bb25..5bd8236a01 100644 --- a/context/app/static/js/pages/search/DevSearch.jsx +++ b/context/app/static/js/pages/search/DevSearch.jsx @@ -85,7 +85,7 @@ function DevSearch() { checkboxFilter('is_living_donor', 'Is living donor?', ExistsQuery('metadata.living_donor_data')), checkboxFilter('is_organ_donor', 'Is organ donor?', ExistsQuery('metadata.organ_donor_data')), checkboxFilter('has_metadata', 'Has metadata?', ExistsQuery('metadata')), - checkboxFilter('no_metadata', 'No metadata?', BoolMustNot(ExistsQuery('metadata.metadata'))), + checkboxFilter('no_metadata', 'No metadata?', BoolMustNot(ExistsQuery('metadata'))), checkboxFilter('has_files', 'Has files?', ExistsQuery('files')), checkboxFilter('no_files', 'No files?', BoolMustNot(ExistsQuery('files'))), checkboxFilter('is_spatial', 'Spatial?', ExistsQuery('rui_location')), From c7f9a9e6103747b697325cdd3f2c2fc9e5d8830e Mon Sep 17 00:00:00 2001 From: Austen Money Date: Tue, 7 Jan 2025 15:42:23 -0500 Subject: [PATCH 2/2] add changelog --- CHANGELOG-dev-metadata-filter.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 CHANGELOG-dev-metadata-filter.md diff --git a/CHANGELOG-dev-metadata-filter.md b/CHANGELOG-dev-metadata-filter.md new file mode 100644 index 0000000000..e2c35e8827 --- /dev/null +++ b/CHANGELOG-dev-metadata-filter.md @@ -0,0 +1 @@ +- Fix metadata filter on dev-search. \ No newline at end of file