CollectionSortField Enum
enum CollectionSortField {
NAME
AVAILABILITY
PRODUCT_COUNT
PUBLICATION_DATE @deprecated(reason: "Use `PUBLISHED_AT` instead.")
PUBLISHED_AT
}
Values
NAME
NAME
Sort collections by name.
AVAILABILITY
AVAILABILITY
Sort collections by availability.
This option requires a channel filter to work as the values can vary between channels.
PRODUCT_COUNT
PRODUCT_COUNT
Sort collections by product count.
PUBLICATION_DATE
PUBLICATION_DATE
Sort collections by publication date.
This option requires a channel filter to work as the values can vary between channels.
PUBLISHED_AT
PUBLISHED_AT
Sort collections by published at.
This option requires a channel filter to work as the values can vary between channels.
Used by
Schema: Saleor 3.23.43. Download SDL.