Skip to content

Commit

Permalink
Reapply the current ValueSet to make sure that the list of value are …
Browse files Browse the repository at this point in the history
…updated.
  • Loading branch information
likp committed Dec 19, 2024
1 parent 2dfa6a1 commit 8ef116c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PxWeb/Code/Api2/DataSelection/SelectionHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,10 @@ public bool UseDefaultSelection(VariablesSelection? variablesSelection)
{
builder.ApplyGrouping(variable.Code, variable.GetGroupingInfoById(variable.CurrentGrouping.ID), GroupingIncludesType.AggregatedValues);
}
else if (variable.CurrentValueSet != null)
{
builder.ApplyValueSet(variable.Code, variable.CurrentValueSet);
}
}

var contents = meta.Variables.FirstOrDefault(v => v.IsContentVariable);
Expand Down

0 comments on commit 8ef116c

Please sign in to comment.