angular-ui/ui-grid

Descending sort does not work properly

Open

#6,725 建立於 2018年5月11日

在 GitHub 查看
 (1 留言) (1 反應) (0 負責人)JavaScript (2,496 fork)batch import
help wanted

倉庫指標

Star
 (5,395 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

When sorting on a column table column contains null values and using pagination, sorting in descending order does not work properly. When I choose a page size that shows all the values and sorting in descending order, the null values are shown at the top of the list. However, when I smaller page size (i.e. 25 or 50 per page), the data is sorting on the first page and that null values are spread between the last two pages (depending on number of data values). When sorting in ascending order, all the pages are sorted correctly (all null values are at the bottom).

貢獻者指南