[feature]: Sort work items by custom properties (Table layout and order_by)

未关闭
#10,129 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@SahilArate 已经在做这个了。

开始于 2026年10月28日。

评估

难度
5/5
预计耗时
一周以上
新手友好度
38/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
django, postgresql, python, typescript
领域
backend, database

调研方向

Start by tracing the Table layout's custom property column display properties (customproperty_<id>) and the API's order_by allowlist, which the issue identifies as the two affected entry points. Check how built-in date columns handle ascending and descending order and empty values. Done means custom Date/Datetime, Number/Decimal, and Option properties can be sorted in the Table layout, with saved views and other layouts as broader goals.

由索引模型根据 Issue 内容生成。

描述

Is there an existing issue for this?
  • I have searched the existing issues
Summary

Allow work items to be ordered by a custom property, at least in the Table (spreadsheet) layout and ideally in the "Order by" display option for every layout. v4.0.0 added custom property columns to the Table layout (customproperty_<id> display properties), but those column headers have no sort menu the way built-in columns do, and the API's order_by allowlist only accepts built-in fields (target_date, start_date, priority, sequence_id, …). A custom property can be shown as a column but the list can't be ordered by it.

Most useful for these property types: Date/Datetime, Number/Decimal, and Option (by option order). Ascending/descending, with empty values last, would match how built-in date columns behave.

Why should this be worked on?

Custom properties are often the field a team actually plans around, and the built-in Start/Due dates mean something else. Our case: one work item type tracks an event that happens on a specific day. The event date is a custom Date property, and the Due date is a separate follow-up deadline. Staff need a list of upcoming items in date order, then by a custom "Order" number within each day. Today the options are:

  • sort by Due date, which only works for items that already have one,
  • copy the custom date into Start date with an automation, so the same date lives in two places and can drift, or
  • keep a separate tool just to get the ordering.

Being able to order by a custom property in the Table layout (and in saved views) would remove the duplication. We're on Commercial Edition v4.0.0, self-hosted, Pro plan.

主要语言
TypeScript
星标
63k
派生
6.5k
平均合并
2 天 16 小时
30 天内合并 PR
70

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

makeplane/plane 的其他 Issue

查看 makeplane/plane 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。