-
Notifications
You must be signed in to change notification settings - Fork 79
CIF-1129 - Option 'Show main categories' is broken #176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* provide property type in catalog page properties
# Conflicts: # ui.apps/src/main/content/jcr_root/apps/core/cif/components/structure/catalogpage/v1/catalogpage/_cq_dialog/.content.xml
* fix the type of showMainCategories attribute value
* fix catalog page children in navigation
* changed label and field description * improved posting logic to ensure that the JCR property always has a value
Codecov Report
@@ Coverage Diff @@
## master #176 +/- ##
============================================
+ Coverage 56.96% 56.97% +0.01%
Complexity 468 468
============================================
Files 147 147
Lines 4085 4084 -1
Branches 711 710 -1
============================================
Hits 2327 2327
+ Misses 1668 1667 -1
Partials 90 90
Continue to review full report at Codecov.
|
if (isCatalogRoot(page)) { | ||
item = new CatalogPageNavigationItem(null, page, currentWcmItem); | ||
} else { | ||
String title = currentWcmItem.getTitle(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only cosmetics and optimized by the compiler but these three variables are not really needed. Code can be reduced to one line.
* fixed label and field description
- changed to "catalog page" to be consistent with the naming
Related Issue
CIF-1129, CIF-1130
How Has This Been Tested?
Manually, unti testing.
Types of changes
Checklist: