#community-help

Query On Sort & Filter Parameters Limitations

TLDR Andrew asked about the limitations of 'sort_by' fields and plans to increase the number. Jason clarified the limitations and asked for the use case. Andrew understood after clarification.

Powered by Struct AI
5
10mo
Solved
Join the chat
Nov 04, 2022 (10 months ago)
Andrew
Photo of md5-7766f890de99fa72a6d81315691a6758
Andrew
08:08 PM
Also in the docs i noticed “Up to 3 sort fields can be specified.” So this is saying you can only have three statements like ‘id==x…’, and if so, do you all have any plans to make more fields available in the future?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
09:46 PM
This is specifically talking about the sort_by parameter and not the filter_by parameter
Nov 05, 2022 (10 months ago)
Andrew
Photo of md5-7766f890de99fa72a6d81315691a6758
Andrew
12:45 AM
Correct, sort_by
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
05:10 PM
We don’t have plans to increase the number of sort_by fields at the moment, but could you expand on what your use case is for needing more than 3 tie breaking fields?
Nov 07, 2022 (10 months ago)
Andrew
Photo of md5-7766f890de99fa72a6d81315691a6758
Andrew
05:44 AM
At the time of writing, i was interested in sorting users based on various values, however after further consideration i realized that it would be possible to implement through filtering fields. Thank you for the explanation though!