This is the sidebar facet in discovery.xml that works showing the collection
<bean id="searchFilterCollection"
class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
    <property name="indexFieldName" value="location.coll"/>
    <property name="metadataFields">
    <list>           
        <value>location.coll</value>
    </list>
    </property>
    <property name="sortOrder" value="VALUE"/>
</bean>

I really need to show the collections found and other metadada in the same
facet, let's say that I want to show location.coll and dc.title, so:

<bean id="searchFilterCollection"
class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
    <property name="indexFieldName" value="location.coll"/>
    <property name="metadataFields">
    <list>           
        <value>dc.title</value>
        <value>location.coll</value>
    </list>
    </property>
    <property name="sortOrder" value="VALUE"/>
</bean>

but doesn't work :(



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/discovery-facet-by-collection-tp4678162p4679008.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to