diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-06-15 08:59:24 +0800 |
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-06-15 08:59:24 +0800 |
| commit | bc3a49fb9a722e224973898ced5b8d1fe0a82ecd (patch) | |
| tree | cb271f639182345fb8c20af28180e5f7e995a1a8 /catalog.cxx | |
| parent | 69572ddf45733862bc6b623091af25e396b0d06f (diff) | |
Add prodGroup member to Product struct
Diffstat (limited to 'catalog.cxx')
| -rw-r--r-- | catalog.cxx | 3 |
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"} }; |