Skip to content

Bug: Incorrect plot displayed after sorting table rows in Webapp #679

@guillaume-vignal

Description

@guillaume-vignal

Description
In the Shapash webapp, the table supports sorting on all columns. However, after applying a sort, clicking on a table row does not display the plot corresponding to the selected row.

The plot seems to be generated using the original row index, not the sorted row index, which results in a mismatch between the selected table row and the displayed visualization.

Steps to Reproduce

  1. Open the Shapash webapp.
  2. Navigate to a view containing a sortable table.
  3. Sort the table by any column.
  4. Click on a row in the sorted table.
  5. Observe that the displayed plot does not match the selected row.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions