Skip to content

Empty dates sorting #130

Description

@kitkatsim

The code:

<td data-dateformat="MM-DD-YYYY"></td>

This empty cells gets data-value="Invalid date".
From my understanding, the sort is done with values in data-value. And that causes unwanted sorting result (blank rows goes first when sorted by descending)

My suggestion is to assign empty string data-value="" when the cell is empty.

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