Skip to content

fix: #85 #86

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

Merged
Merged

Conversation

hunsra
Copy link
Contributor

@hunsra hunsra commented Jan 7, 2024

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

#85

What is the new behavior?

Modified Postgrest.Table.GenerateUrl() to produce a single order query parameter with comma-separated expressions for each chained .Order() method rather than producing a separate order query parameter for each.

Additional context

The changes resolved the issue #85, although its uncertain whether the changes are correctly made for ordering by foreign table columns.

hunsra and others added 4 commits January 7, 2024 14:21
….GenerateUrl() to produce a single order query parameter with comma-separated expressions for each chained .Order() method rather than producing a separate order query parameter for each.
@acupofjose
Copy link
Contributor

Wonderful, thanks for taking the time @hunsra! Just added a quick test to verify the functionality works as expected and added a variable to clarify a rather long ternary operation.

Appreciate you taking the time! I'll add this fix into the next minor release.

@acupofjose acupofjose merged commit ce5f7d9 into supabase-community:master Jan 8, 2024
@hunsra
Copy link
Contributor Author

hunsra commented Jan 8, 2024

Thanks @acupofjose. Happy to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants