Hi. Is it possible to sort facet values in DESC order?. I want to have the
Date issued facet in descending order. I tried to add the line in red to
the bean configuration but it is not valid:
<bean id="searchFilterIssued"
class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
<property name="indexFieldName" value="dateIssued"/>
<property name="metadataFields">
<list>
<value>dc.date.issued</value>
</list>
</property>
<property name="type" value="text"/>
<property name="facetLimit" value="5"/>
<property name="sortOrderSidebar" value="VALUE"/>
<property name="sortOrderFilterPage" value="VALUE"/>
<property name="isOpenByDefault" value="false"/>
<property name="pageSize" value="10"/>
<property name="exposeMinAndMaxValue" value="true"/>
*<property name="defaultSortOrder" value="desc"/>*
</bean>
TIA
Diego
--
All messages to this mailing list should adhere to the Code of Conduct:
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/dspace-tech/aab8e2cf-dc62-470b-81dc-76a862e6d811n%40googlegroups.com.