Enabling fix JR56254
JR56254 introduces a new configuration option to control how categories under the Top Category drop-down menu are sorted.
By default, the categories that are displayed under the Top Category drop-down menu are sorted based on the sequence that is defined in Management Center. If you want to sort categories alphanumerically based on the category names, then complete the following procedure.
Procedure
-
Open the custom Search EAR component configuration file.
- WCDE_installdir\workspace\Search\xml\config\com.ibm.commerce.catalog-ext\wc-component.xml
Note: If the custom configuration file does not exist, then create one. For more information, see Changing properties in the component configuration file (wc-component.xml) (Search EAR). -
Add the following property to the
SearchConfiguration
configgroup.<_config:property name="TopCategorySortOrder" value="0" />
- Set the
value
to 0 to follow the sequence that is defined in Management Center. - Set the
value
to 1 to sort the categories alphanumerically based on the category names.
- Set the
- Save and close the custom configuration file.
- Test your configuration changes.
- Deploy the customized file to the production environment.