diff --git a/app/search/services/hints.py b/app/search/services/hints.py index a6c7765..7763a0b 100644 --- a/app/search/services/hints.py +++ b/app/search/services/hints.py @@ -2,7 +2,7 @@ from search.models import Product, Category, Characteristic def get_hints(content: str) -> str: - category = "Unknown" + category = "All" if content in list(map(lambda product: product.name, Product.objects.all())): category = "Name" elif content in list(map(lambda category: category.name, Category.objects.all())):