Skip to content

Added filter for only completed products#16

Merged
LightJack05 merged 1 commit intomainfrom
filter-completed-products
Jan 26, 2026
Merged

Added filter for only completed products#16
LightJack05 merged 1 commit intomainfrom
filter-completed-products

Conversation

@LightJack05
Copy link
Member

Closes #15

@LightJack05 LightJack05 requested a review from Ferrari78 January 26, 2026 16:04
@LightJack05 LightJack05 self-assigned this Jan 26, 2026
Copilot AI review requested due to automatic review settings January 26, 2026 16:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Filters product search results to only include items whose nutrition facts are marked as completed in OpenFoodFacts, aligning with Issue #15.

Changes:

  • Updated SearchProductByName to add a MongoDB filter on states_tags for en:nutrition-facts-completed, so only products with completed nutrition facts are returned by the /products/search endpoint.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@LightJack05 LightJack05 merged commit 2e2216b into main Jan 26, 2026
12 checks passed
@LightJack05 LightJack05 deleted the filter-completed-products branch January 26, 2026 16:39
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.

Dont show not completed Items

2 participants