Skip to content

Currently sorted column not updated #40

@fzemanec

Description

@fzemanec

Currently sorted column [tablesort.$th] is never updated and is always null. This is needed when data in the table are reloaded with ajax and user-selected sorting needs to be reapplied.

Proposed fix:
//click on a different column if (this.index !== th.index()) { this.direction = 'asc'; this.index = th.index(); this.$th = 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