appsmithorg / appsmithorg/appsmith

[Feature] Set the default sort of a field

Offen
#7,879 9 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Enhancement Query Widgets & IDE Pod Table Widget Widgets & Accelerators Pod Widgets Product
Vorherrschende Sprache
TypeScript
Sterne
40.9k
Forks
4.8k
Ø Merge
1 T. 22 Std.
Gemergte PRs (30 T.)
45

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.