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

Đang mở
#10,129 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@SahilArate đang làm issue này rồi.

Từ ngày 28/10/2026.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
django, postgresql, python, typescript
Lĩnh vực
backend, database

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
63k
Fork
6.5k
Merge trung bình
2 ngày 16 giờ
Pull request đã merge (30 ngày)
70

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của makeplane/plane

Tất cả issue của makeplane/plane

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.