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

[v1.12.0] Add reverse parameter for fetching tasks #596

Closed
2 tasks
Strift opened this issue Dec 31, 2024 · 0 comments · Fixed by #603
Closed
2 tasks

[v1.12.0] Add reverse parameter for fetching tasks #596

Strift opened this issue Dec 31, 2024 · 0 comments · Fixed by #603
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Strift
Copy link
Contributor

Strift commented Dec 31, 2024

Following the changes related to Meilisearch v1.12.0 mega issue

Description

Add a feature introduced in Meilisearch v1.12.0: the reverse parameter when fetching tasks.

For more information refer to the docs:

For reference, here is how this works in JavaScript using meilisearch-js:

const reversedTasks = await client.getTasks({ reverse: true });

Tasks

  • The method to get tasks must accept the new reverse (in meilisearch-js, the equivalent method is getTasks())
  • ⚠️ Add integration tests ⚠️
@Strift Strift added enhancement New feature or request good first issue Good for newcomers labels Dec 31, 2024
meili-bors bot added a commit that referenced this issue Feb 1, 2025
603: GetTasks: allow for reverse param r=Ja7ad a=cosmastech

# Pull Request

## Related issue
Fixes #596

## What does this PR do?
- Allow passing "reverse" to the get tasks endpoint.

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: Luke Kuzmish <lakuzmish@gmail.com>
meili-bors bot added a commit that referenced this issue Feb 1, 2025
603: GetTasks: allow for reverse param r=Ja7ad a=cosmastech

# Pull Request

## Related issue
Fixes #596

## What does this PR do?
- Allow passing "reverse" to the get tasks endpoint.

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: Luke Kuzmish <lakuzmish@gmail.com>
@meili-bors meili-bors bot closed this as completed in 40ea18f Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant