From 2669454199f614698ecc19298299733c4adeb0a0 Mon Sep 17 00:00:00 2001 From: LightJack05 <66321084+LightJack05@users.noreply.github.com> Date: Mon, 26 Jan 2026 17:04:04 +0100 Subject: [PATCH] Added filter for only completed products --- internal/database/product/queries.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/database/product/queries.go b/internal/database/product/queries.go index 21434f6..b1e0ffb 100644 --- a/internal/database/product/queries.go +++ b/internal/database/product/queries.go @@ -30,6 +30,7 @@ func SearchProductByName(db *mongo.Client, query string, limit int) (*[]Product, "$text": bson.M{ "$search": strings.TrimSpace(query), }, + "states_tags": "en:nutrition-facts-completed", } filterOptions := options.Find()