on 02-06-2024 6:58 AM
I have a requirement of showing the data in backoffice view in descending order based on order creation time, i.e. latest orders should be at the top of the view.
I have the following list-view:
<context type="Order" component="cs-listview"
principal="customersupportmanagerrole,customersupportagentrole">
<list:list-view
xmlns:list="http://www.hybris.com/cockpitng/component/listView">
<list:column qualifier="code"/>
<list:column qualifier="name"/>
<list:column qualifier="email"/>
<list:column qualifier="date"/>
</list:list-view>
</context>
I tried adding the below part but didn't see any difference:
<context type="Order" component="simple-search">
<yss:simple-search
xmlns:yss="http://www.hybris.com/cockpitng/config/simplesearch">
<yss:field name="code"/>
<yss:field name="name"/>
<yss:field name="email"/>
<yss:field name="date"/>
<yss:sort-field asc="false" name="date"/>
</yss:simple-search>
</context>
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.