jieter/django-tables2

Ordering of missing values for ListData

开放

#529 创建于 2018年1月11日

 (3 条评论) (1 个反应) (0 位负责人)Python (443 个派生)batch import
Help wanted

仓库指标

星标
 (2,011 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Missing values in List of dicts table are pulled to the top when using ascending sorting. This might be unexpected for some users, therefore it would be convenient having an "order_null_last" or similar parameter in table meta/kwargs. I've made a hard-coded quick fix in a fork here: https://github.com/usajusaj/django-tables2/commit/ec27b7ff5915bee1fc0c431c00696599c9107311 but that's far from being a proper solution.

贡献者指南