Problems sorting search results by dc.date.accessioned ascending - Dspace8

80 views
Skip to first unread message

Aroldo Rique Júnior

unread,
Mar 17, 2025, 7:04:07 PMMar 17
to DSpace Technical Support, paulo...@mpf.mp.br
Hi

I'm having trouble sorting the results of a search by the dc.date.accessioned metadata in ascending order. My discovery.xml is configured as follows.

<!--The sort filters for the discovery search-->
        <property name="searchSortConfiguration">
            <bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
                <property name="sortFields">
                    <list>
                          <ref bean="sortDateAccessioned"/>                        
                          <ref bean="sortDateAccessionedAsc"/>
                          <ref bean="sortTitle"/>
                    </list>
                </property>
            </bean>
        </property>

<bean id="sortDateAccessionedAsc" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
        <property name="metadataField" value="dc.date.accessioned"/>
        <property name="type" value="date"/>
        <property name="defaultSortOrder" value="asc"/>
    </bean>


Note that the first results are collection records, which don't even have the dc.date.accessioned metadata. What could be happening?

Link: https://biblioteca.mpf.mp.br/repositorio/search?spc.page=1&spc.sf=dc.date.accessioned&spc.sd=ASC

image.png

Aroldo

Ahmad Nasser

unread,
Apr 16, 2025, 2:38:52 AMApr 16
to DSpace Technical Support
Dear  Aroldo Rique Júnior

How add or appear more facets in bar filter like this
1.png

Aroldo Rique Júnior

unread,
Apr 16, 2025, 10:52:11 AMApr 16
to Ahmad Nasser, DSpace Technical Support

--
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 dspace-tech...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dspace-tech/cd0c2ed2-b37d-45a5-a805-7c7d3f1fbdddn%40googlegroups.com.

Aroldo Rique Júnior

unread,
May 25, 2025, 1:07:49 PMMay 25
to DSpace Technical Support, paulo...@mpf.mp.br
Anyone else having this problem? Is it a bug?

Aroldo

Aroldo Rique Júnior

unread,
Oct 24, 2025, 12:53:23 PM (12 days ago) Oct 24
to DSpace Technical Support, paulo...@mpf.mp.br
User jensvannerum provided the solution to the problem. The solution was to change a Solr configuration file. You can see the solution at this link: https://github.com/DSpace/DSpace/issues/10768

Thanks jensvannerum!

Em seg., 17 de mar. de 2025 às 20:03, Aroldo Rique Júnior <aro...@gmail.com> escreveu:
Reply all
Reply to author
Forward
0 new messages