0 down vote favorite
<https://stackoverflow.com/questions/53498119/dspace-xmlui-discovery-sorting-items-with-a-combination-of-metadata#>
I would need to sort the items displayed on the XMLUI discovery page using
a combination of metadata, because the type of ordering required
(specifically for size) uses a different metadata for media type of
reference (see images, audio, video ...) .
Wanting to act, as per documentation, on the file "discovery.xml" but
specifying a bean of this type:
<bean id="sortSize"
class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
<property name="metadataFields"/>
<list>
<value>METADATA_NAME_1</value>
<value>METADATA_NAME_2</value>
...
</list>
</property>
</bean>
Indexing is not successful. This is because it is only possible to indicate
a sort bean of this type:
<bean id="sortSize"
class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
<property name="metadataField" value="SINGLE_METADATA_NAME"/>
</bean>
Is it possible to create a type of combined ordering like the one
described? If so, how could I operate?
Thank you in advance!
--
All messages to this mailing list should adhere to the DuraSpace Code of
Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.