commercetools / commercetools-sunrise-java

The next generation shop framework by commercetools
https://demo.commercetools.com
Apache License 2.0
46 stars 35 forks source link

Make sorting on custom fields possible #708

Open gitlui opened 5 years ago

gitlui commented 5 years ago

We have a CartQuery that we need to sort on a custom String field which contains reference numbers of the underlying ERP system. Unfortunately I couldn't find a way to do this. Currently we sort on the field createdAt but this isn't sufficient as it is not the order we need.

Is there a way to achieve what I want or could you add the possibility to sort upon custom fields of type String?

skyriakou commented 5 years ago

@gitlui thanks for reaching out. Please open up a support issue here and we will do our best to answer your question: https://jira.commercetools.com/servicedesk/customer/portal/1 Thanks.