ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.1k stars 14.64k forks source link

[Bug Report] Table column sort not handle null or undefined value correctly #17222

Open sisartemis opened 5 years ago

sisartemis commented 5 years ago

Element UI version

2.12.0

OS/Browsers version

FF 60 / Chrome 76

Vue version

2.6.10

Reproduction Link

https://jsfiddle.net/14rey29c/

Steps to reproduce

Sort table column which contain null or undefined or empty values

What is Expected?

Rows with null or undefined or empty values should be at the end or the beginning of the table, depending on the sort direction

What is actually happening?

Rows with null or undefined or empty values aren't sorted and seem to be at randomly position

tobybowers commented 4 years ago

When will the linked fix be incorporated?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.