jieter/django-tables2

Ordering of missing values for ListData

オープン

#529 opened on 2018/01/11

 (3 件のコメント) (1 件のリアクション) (0 人の担当者)Python (443 件のフォーク)batch import
Help wanted

Repository metrics

Stars
 (2,012 個のスター)
PR merge metrics
 (30d に merged 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.

コントリビューターガイド