appsmithorg / appsmithorg/appsmith

[Feature] Set the default sort of a field

Aperta
#7,879 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Enhancement Query Widgets & IDE Pod Table Widget Widgets & Accelerators Pod Widgets Product
Lingua principale
TypeScript
Stelle
40.9k
Fork
4.8k
Merge medio
1g 22h
PR unite (30g)
45

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.