We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like to fetch prices matching a specific product category, for example "en:hazelnut-spreads".
Currently, the API only allows filtering on category_tag for products without a barcode (and thus no product relation)
category_tag
product
Add a product_categories_tags__contains filter
product_categories_tags__contains
The text was updated successfully, but these errors were encountered:
Ah, N+1 queries 😁 in the price views.py we already have a select_related so it shouldn't have too much of an impact.
views.py
select_related
But to be on the safe side I'd rather
product__categories_tags__contains
Sorry, something went wrong.
I created said PR, but I could use your help writing the tests.
Successfully merging a pull request may close this issue.
Problem
I would like to fetch prices matching a specific product category, for example "en:hazelnut-spreads".
Currently, the API only allows filtering on
category_tag
for products without a barcode (and thus noproduct
relation)Proposed solution
Add a
product_categories_tags__contains
filterThe text was updated successfully, but these errors were encountered: