DSE: Wrong solution is exported from table visualization after sorting
#4237 (closed) introduced sorting of DSE solutions by objective values.
However, when sorting the list of solutions in a different order than the original one, the Export and Select buttons would be associated to a wrong solution (namely, the solution that was associated to the respective row before sorting.
Steps to reproduce:
- Import ACC.af3_23
- Import preconfigured DSE configuration in attached model into DSE perspective
- Perform deployment optimization using the Objectives ruleset
- Visualize the solutions (2 should be found)
- Change the solution sort order by clicking on a column header in the table view (e.g. Min. Count (All CUSs, Hardware Cost)) such that solution Deployment 1 is in the first row
- Hit Export
- Observe in the Modelling Perspective, that actually solution Deployment 0 has been exported
Edited by Simon Barner