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

Add sortable attributes option #112

Closed
cjilbert504 opened this issue Feb 1, 2022 · 0 comments · Fixed by #113
Closed

Add sortable attributes option #112

cjilbert504 opened this issue Feb 1, 2022 · 0 comments · Fixed by #113

Comments

@cjilbert504
Copy link
Contributor

Description
In keeping with the common theme of the other MeiliSearch libraries, it would be nice to also have the sortableAttributes option within this library as well.

Basic example

  meilisearch if: :published_at? do
    attribute :category_list, :name, :description, :number
    sortable_attributes [:number]
  end

Other
Any other things you want to add.

@bors bors bot closed this as completed in 365fa51 Feb 3, 2022
@bors bors bot closed this as completed in #113 Feb 3, 2022
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 a pull request may close this issue.

1 participant