-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Supabase data provider returns wrong sorted list for foreign table colmun #6229
Comments
Hello @noritsune, thanks for improving Refine. I assigned it to you 👍 |
Thank you for assign. I'm working for this issue. |
Hey @noritsune, any updates on this one? We'll be happy to help if you have any issues 🙏 |
Hi @aliemir , I’ve researched ordering with Supabase SDK and PostgREST, and I found that Supabase relies on PostgREST for ordering. There are two types of ordering available:
However, the current Supabase DataProvider doesn't distinguish between these two ordering methods. It only supports Embedded Ordering at the moment. To address this, I’m considering adding a What are your thoughts on this approach? By the way, I’m unable to work on this issue at the moment. If there’s someone else who can take it on, please feel free to assign them. If not, I’ll plan to work on it in a few months. |
Describe the bug
I tryed to sort by foreign table colmn with Supabase data provider. But the result is not sorted.
Steps To Reproduce
getList()
of Supabase data provider with sort option like belowgetList()
are sorted by a specified column, but they are not sortedExpected behavior
The results of
getList()
are sorted by the specific column of foreign table.Packages
@refinedev/supabase: 5.9.2
Additional Context
I already found how to fix this bug.
If you assign me this issue, I can fix Supabase data provider refer to the following issue.
supabase/supabase-js#971
The text was updated successfully, but these errors were encountered: