Skip to content

Conversation

pkalita-lbl
Copy link
Collaborator

Fixes #1306

Despite its name, DataHarmonizer's showColumnsBySectionTitle method actually expects a section name, and we were passing it a section title.

The map that was previously being used to drive the options (schemaSections) only recorded the section titles. That map has been renamed to schemaSectionColumns since it is a map from section title to and array of column information. Otherwise it is unchanged and still used in computing fields.

To actually fix the bug, these changes add a map (schemaSectionNames) from section titles (for display) and section names (to pass to showColumnsBySectionTitle).

Copy link
Collaborator

@naglepuff naglepuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pkalita-lbl pkalita-lbl merged commit ef517f8 into main Jul 23, 2024
2 checks passed
@pkalita-lbl pkalita-lbl deleted the issue-1306-show-hide-column-section branch July 23, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: column filter not working
2 participants