]> git.mxchange.org Git - jproduct-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Mon, 18 May 2020 21:27:22 +0000 (23:27 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 18 May 2020 21:27:22 +0000 (23:27 +0200)
- forgot to copy parent category from source to target

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jproduct/model/category/Categories.java

index d58472f5b8cce530b7b3805a9e2af5afbde05e3d..4548c9e395f755dbc486275d0345202f4458918e 100644 (file)
@@ -80,6 +80,7 @@ public class Categories implements Serializable {
                targetCategory.setCategoryI18nKey(sourceCategory.getCategoryI18nKey());
                targetCategory.setCategoryId(sourceCategory.getCategoryId());
                targetCategory.setCategoryShownInStatistics(sourceCategory.getCategoryShownInStatistics());
+               targetCategory.setParentCategory(sourceCategory.getParentCategory());
        }
 
        /**