summaryrefslogtreecommitdiff
path: root/catalog.cxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-15 08:59:24 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-15 08:59:24 +0800
commitbc3a49fb9a722e224973898ced5b8d1fe0a82ecd (patch)
treecb271f639182345fb8c20af28180e5f7e995a1a8 /catalog.cxx
parent69572ddf45733862bc6b623091af25e396b0d06f (diff)
Add prodGroup member to Product struct
Diffstat (limited to 'catalog.cxx')
-rw-r--r--catalog.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/catalog.cxx b/catalog.cxx
index 8f73565..549c7b3 100644
--- a/catalog.cxx
+++ b/catalog.cxx
@@ -29,6 +29,8 @@ namespace ICClient {
return product.image;
case Product::PriceRole:
return product.price;
+ case Product::ProdGroupRole:
+ return product.prodGroup;
case Product::WeightRole:
return product.weight;
case Product::AuthorRole:
@@ -46,6 +48,7 @@ namespace ICClient {
, {Product::CommentRole, "comment"}
, {Product::ImageRole, "image"}
, {Product::PriceRole, "price"}
+ , {Product::ProdGroupRole, "prodGroup"}
, {Product::WeightRole, "weight"}
, {Product::AuthorRole, "author"}
};