Skip to content

Memorize current sorted column when sorting by click #45

@Mathias-Oberti

Description

@Mathias-Oberti

When clicking on a column to sort, the new sorting column isn't stored in $th.

Example :
tablesort.sort($("th.t1"))

tablesort.$th is now th.t1 element

Then, clicking on th.t2 column to sort

tablesort.$th is still th.t1 element. No update.

Proposed fix :
Store new sorted column element in $th

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions