appsmithorg / appsmithorg/appsmith

[Feature] Set the default sort of a field

Đang mở
#7,879 9 bình luận 0 reaction 0 người được giao Xem trên GitHub
Enhancement Query Widgets & IDE Pod Table Widget Widgets & Accelerators Pod Widgets Product
Ngôn ngữ chính
TypeScript
Star
40.9k
Fork
4.8k
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
45

Mô tả

## Summary

Add the ability to set the sort order of a field - ascending or descending. Doesn't mean the user in view mode **can't** change it but at least I know I have it set for the application.

## Motivation

There's either a bug in the table widget or the actual page itself that stops data from sorting based on the data that comes back from the database or API.

Setting the default sort from the application allows a much needed override.

## Additional Context

Example of the data being sorted as returned from the source...

![image](https://user-images.githubusercontent.com/82402173/135000682-61496669-d5f4-4e75-953b-64c17e201a37.png)

Versus what the table widget sorts it by

![image](https://user-images.githubusercontent.com/82402173/135000773-c300754b-1eb4-4322-95bc-d16e88e900b4.png)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.