Class SortSettings.Labels

java.lang.Object
com.broadleafcommerce.search.api.domain.constants.SortSettings.Labels
Enclosing class:
SortSettings

public static final class SortSettings.Labels extends Object
Controls how sort options are displayed to the user.

See SortOption.setLabelBehavior(String)

  • Field Details

    • SINGLE

      public static final String SINGLE
      Use a single label for all sort options. This requires the consumer to distinguish between ascending and descending when displaying the label.
      See Also:
    • PER_OPTION

      public static final String PER_OPTION
      Use separate label fields for ascending and descending sort options. This label should be displayed as-is for ascending/descending options.
      See Also: