cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to customize list view default sorting in hybris 1808 from newest to the oldest order?

0 Kudos
884

In backoffice customer support view, if I go to order -> order history tab, the entries are listed from oldest to newest, how can I change it to display newest first?

the list view code is like:

<context type="OrderHistoryEntry" component="referenceListViewOrderHistoryEntries">

	<list-view:list-view xmlns:list-view="http://www.hybris.com/cockpitng/component/listView">

	        <list-view:column qualifier="timestamp" label="customersupportbackoffice.order.listview.date" merge-mode="replace" sortable="true" width="15%"/>

		<list-view:column qualifier="comment" width="15%" />

		<list-view:column qualifier="description" merge-mode="replace" width="40%"/>

		<list-view:column qualifier="employee" width="15%"/>

		<list-view:column qualifier="notifiedByEmail" label="customersupportbackoffice.order.history.email.notify" width="15%"/>

		</list-view:list-view>
</context>

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Experts,

Any suggestion/solution to the above query?

I have a similar requirement where I need to sort the list view based on a column

Best Regards,

Rahul