Problem with External Sorting
Options
![dmenciot](https://us.v-cdn.net/6037124/user_avatars/4214438.jpg)
dmenciot
Member ✭
Hi all!
following the documentation on external sorting, I have created a new function and tried to connected to Bubble.
The API call works well, but it looks like not the sortingby, nor the orderby inputs work....what am I doing wrong?
Here the snippet https://www.xano.com/snippet/fk--sOSa
Here some Bubble screenshots:
[image.png][image.png]
Thanks a lot!!
following the documentation on external sorting, I have created a new function and tried to connected to Bubble.
The API call works well, but it looks like not the sortingby, nor the orderby inputs work....what am I doing wrong?
Here the snippet https://www.xano.com/snippet/fk--sOSa
Here some Bubble screenshots:
[image.png][image.png]
Thanks a lot!!
Comments
-
Your paths in your external object are set to the input values. These need to by static text. "orderBy"
Otherwise, let's say you want to order by "name"... the result would be
{
"name": "name"
...
}
where it should be:
{
"orderBy": "name"
...
}
Your path isn't going to be dynamic, just the value -
[CleanShot 2022-05-02 at 15.05.07.png]
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback