Skip to content
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

sorting with multiple params #1

Open
petersopko opened this issue Jul 4, 2022 · 2 comments
Open

sorting with multiple params #1

petersopko opened this issue Jul 4, 2022 · 2 comments

Comments

@petersopko
Copy link

following up from kodadot/nft-gallery#3266 , sort needs to handle multiple params at once, this should be part of uniquery

@vikiival vikiival transferred this issue from kodadot/packages Mar 3, 2023
@roiLeo
Copy link
Contributor

roiLeo commented Mar 7, 2023

  • /collections/:id/items?sort=+updatedAt,+price

+ means ascending
- means descending

@vikiival
Copy link
Member

Wow I just found this!
That is really smart @roiLeo !

vikiival pushed a commit that referenced this issue Mar 17, 2023
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

No branches or pull requests

3 participants