diff --git a/CHANGELOG.md b/CHANGELOG.md index dc31612..09d0f99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# Unreleased +- Fix selection index issue on custom label trend reports + # v0.33.0 - add custom label trend report - Add validation to dataset `--stats` diff --git a/cli/src/commands/get/custom_label_trend_report.rs b/cli/src/commands/get/custom_label_trend_report.rs index 32b8856..afa6521 100644 --- a/cli/src/commands/get/custom_label_trend_report.rs +++ b/cli/src/commands/get/custom_label_trend_report.rs @@ -99,6 +99,7 @@ pub fn pop_label_selection(prompt: &str, label_defs: &mut Vec) -> Resu Ok(label_inclusion_selections .iter() + .rev() .map(|selection| label_defs.remove(*selection).name) .collect()) }