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

#888 - Grower: new filter by amount of captures uploaded was added. #1032

Merged

Conversation

OlhaD
Copy link
Contributor

@OlhaD OlhaD commented Feb 21, 2023

Description

#888 - Grower: new filter by amount of captures uploaded was added.

When I apply the filter, API is called with the parameters below:
https://dev-k8s.treetracker.org/query/v2/growers?capturesAmount_min=0&capturesAmount_max=0&limit=24&offset=0
https://dev-k8s.treetracker.org/query/v2/growers?capturesAmount_min=1&capturesAmount_max=25&limit=24&offset=0
https://dev-k8s.treetracker.org/query/v2/growers?capturesAmount_min=25&limit=24&offset=0

Issue(s) addressed

What kind of change(s) does this PR introduce?

  • Enhancement
  • Bug fix
  • Refactor

Please check if the PR fulfils these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Issue

What is the current behavior?

What is the new behavior?

Breaking change

Does this PR introduce a breaking change?

Other useful information

* feat: also done for captures and verify contexts. also fixes 'first name' and 'last name' filters
@OlhaD OlhaD marked this pull request as ready for review April 3, 2023 20:43
@OlhaD OlhaD requested a review from a team as a code owner April 3, 2023 20:43
Copy link
Collaborator

@nmcharlton nmcharlton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@nmcharlton nmcharlton merged commit 3324d3b into Greenstand:master Apr 10, 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

Successfully merging this pull request may close these issues.

Grower: new filter by amount of captures uploaded.
2 participants