diff --git a/src/app/sets/sets.page.html b/src/app/sets/sets.page.html
index 39ac96e..9b04cb9 100644
--- a/src/app/sets/sets.page.html
+++ b/src/app/sets/sets.page.html
@@ -11,7 +11,10 @@
- {{ product.name }}
+
+
+ {{ product.name }}
+
diff --git a/src/app/sets/sets.page.ts b/src/app/sets/sets.page.ts
index 24bad55..ca9b99e 100644
--- a/src/app/sets/sets.page.ts
+++ b/src/app/sets/sets.page.ts
@@ -22,7 +22,11 @@ export class SetsPage implements OnInit {
});
}
- formatSetNameForSearch(productId: string, subproductId: string): string {
+ formatSetNameForSearch(productId: string, subproductId?: string): string {
+ if (!subproductId) {
+ return `product:"${productId}"`;
+ }
+
return `product:"${productId}" subproduct:"${subproductId}"`;
}
}