appsmithorg / appsmithorg/appsmith

[Feature] Set the default sort of a field

Open
#7,879 9 comments 0 reactions 0 assignees View on GitHub
Enhancement Query Widgets & IDE Pod Table Widget Widgets & Accelerators Pod Widgets Product
Dominant language
TypeScript
Stars
40.9k
Forks
4.8k
Avg merge
1d 22h
Merged PRs (30d)
45

Description

## 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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.