fix scoping by product category

This commit is contained in:
Brandon Thomas committed 2024-09-05 21:23:43 -04:00
1 parent 3793da5bf8
commit 171958ba1e
1 file changed
+1 -1
@@ -376,7 +376,7 @@ async fn database_lookup(
let maybe_filter_media_types = get_scoped_media_types(query.filter_media_type.as_deref());
let maybe_filter_media_classes = get_scoped_media_classes(query.filter_media_classes.as_deref());
let maybe_filter_engine_categories = get_scoped_engine_categories(query.filter_engine_categories.as_deref());
let maybe_filter_product_categories = get_scoped_product_categories(query.filter_engine_categories.as_deref());
let maybe_filter_product_categories = get_scoped_product_categories(query.filter_products.as_deref());
// NB: No reason to show deleted or non-public featured items to mods or authors.
// That's just confusing and wastes an extra query.