MrHertal / react-admin-amplify

AWS Amplify data provider for react-admin.
MIT License
159 stars 42 forks source link

Filter & Sort #52

Closed BruceWheaton closed 3 years ago

BruceWheaton commented 3 years ago

Can I sort or filter post receiving data i.e. without using custom queryFields?

On filter - how can I use wildcards?

On sort, it seems that we can't sort on the primary key, only the secondary key. Is that right? Is that an Appsync limitation or just the way sorts currently work?

MrHertal commented 3 years ago

Hi,

Filtering and sorting is pretty limited because of AppSync/DynamoDB.

If you want more info, check these sections of the README:

https://github.com/MrHertal/react-admin-amplify#filter https://github.com/MrHertal/react-admin-amplify#sorting

For more details there is also the Amplify documentation.