I opted in to use JOINs, however; the sorting does...
# community-help
l
I opted in to use JOINs, however; the sorting doesn't work This has the wrong sort order:
{
"q": "*",
"query_by": "_id",
"filter_by": "$balances(address:=...)",
"include_fields": "$balances(*) as balance",
"sort_by": "$balances(last_received:asc)",
"page": 1,
"per_page": 10
}
This has the correct sort order:
{
"q": "*",
"query_by": "_id",
"filter_by": "address:=...",
"sort_by": "last_received:asc",
"page": 1,
"per_page": 10
}