Add methods getHierarchy,makeHierarchyFilters for determining parent category and respective filters
Use filteredValue prop instead to keep filter selected
Renamed defaultFilteredValue and defaultSortOrder to urlParamFilters and urlSortOrder respectively avoid confusion and to indicate source of filtering and order data
Update example envs so that field index names found therein will be handled during definition of urlParamFilters
@libpitt If you filter by "Lung" or "Blood" by itself you get results but when you filter by multiple organs where there is a hierarchy it breaks the table:
Change log:
getHierarchy
,makeHierarchyFilters
for determining parent category and respective filtersfilteredValue
prop instead to keep filter selecteddefaultFilteredValue
anddefaultSortOrder
tourlParamFilters
andurlSortOrder
respectively avoid confusion and to indicate source of filtering and order dataurlParamFilters
defaultProps
Please update to: SN:
NEXT_PUBLIC_DEFAULT_FILTER_FIELDS = '["group_name", "status", "organ", "dataset_type", "source_type", "has_rui_info", "assigned_to_group_name"]'
HM:NEXT_PUBLIC_DEFAULT_FILTER_FIELDS = '["group_name", "status", "organ", "dataset_type", "has_rui_info", "assigned_to_group_name"]'