Skip to content

Commit

Permalink
EES-5740 Changes in response to PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mmyoungman committed Dec 31, 2024
1 parent a0778c3 commit 7035c31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,8 @@ private static async Task<DataSetFileFilterHierarchy> GenerateFilterHierarchy(
var childFilter = filters
.Single(f => f.GroupCsvColumn == parentFilter.ColumnName);

while (true) // one iteration of loop per tier
// Loop over each parent/child or tier, starting with the root filter, until no child is found
while (true)
{
var currentParentFilterId = parentFilter.Id; // avoid closure madness
var currentChildFilterId = childFilter.Id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ public record SubjectMetaViewModel

public TimePeriodsMetaViewModel TimePeriod { get; set; } = new();

public List<DataSetFileFilterHierarchyViewModel>? FilterHierarchies { get; set; } = null;
public List<DataSetFileFilterHierarchyViewModel>? FilterHierarchies { get; set; }
}

0 comments on commit 7035c31

Please sign in to comment.