title | issue | author | author_email | author_github |
---|---|---|---|---|
Make cms element data unique for the same entity |
NEXT-21862 |
Michiel Kalle |
michielkalle |
- Changed method
registerCmsElement
insrc/Administration/Resources/app/administration/src/module/sw-cms/service/cms.service.js
to make cms element properties unique regarding the same entity - Added method
getCollectFunction
insrc/Administration/Resources/app/administration/src/module/sw-cms/service/cms.service.js
and used it in the following cms elements to make their properties unique regarding the same entity:src/Administration/Resources/app/administration/src/module/sw-cms/elements/buy-box/index.js
src/Administration/Resources/app/administration/src/module/sw-cms/elements/cross-selling/index.js
src/Administration/Resources/app/administration/src/module/sw-cms/elements/product-box/index.js
src/Administration/Resources/app/administration/src/module/sw-cms/elements/product-description-reviews/index.js
src/Administration/Resources/app/administration/src/module/sw-cms/elements/product-slider/index.js
- Changed method
enrich
to make cms element properties unique regarding the same entity in:src/Administration/Resources/app/administration/src/module/sw-cms/elements/image-gallery/index.js
src/Administration/Resources/app/administration/src/module/sw-cms/elements/image-slider/index.js