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 #2

Open
tscritch opened this issue Jan 3, 2023 · 1 comment
Open

Sorting #2

tscritch opened this issue Jan 3, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@tscritch
Copy link
Collaborator

tscritch commented Jan 3, 2023

API example:

Person
  |> Trove.search!(
         search_terms,
         sort: [first_name: :asc]
     )
  |> Repo.all()

Do we need sort with transformers? Like sort by lowercase?

https://hexdocs.pm/ecto/Ecto.Query.html#order_by/3

@tscritch tscritch added the enhancement New feature or request label Jan 3, 2023
@tscritch tscritch added this to the 1.0.0 milestone Jan 3, 2023
@tscritch tscritch assigned tscritch and unassigned travisdbates Jun 16, 2023
@matthew-kerle
Copy link

@tscritch should this issue be closed now?

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

No branches or pull requests

3 participants