Thanks a lot! It worked. I uncomented the line in *[dspace-install-dir]/config/spring/api/discovery.xml* Then rebuilt the index: *./dspace index-discovery -b* And then restarted the web server, in our case Tomcat7: */etc/init.d/tomcat7 restart*
-- Eneko El jueves, 19 de enero de 2017, 16:14:41 (UTC+1), euler escribió: > > Hi Eneko, > > Please see this link: > https://wiki.duraspace.org/display/DSDOC5x/Discovery#Discovery-Configuringandcustomizingsearchsortfields > > As you can see, the <property name="defaultSort" ref="sortDateIssued"/> was > commented out, which means it will default to relevance. Try to uncomment > this portion and rebuild discovery. > > Hope this helps. > > Regards, > euler > > On Thursday, January 19, 2017 at 10:12:21 PM UTC+8, Eneko Anasagasti wrote: >> >> Hi, >> >> I am trying to change the default sorting in searches for our Dspace 5.5. >> However I don't quite understand how to do this. As far as I understand >> reading the docs is that this functionality is hard-coded. >> >> >> http://mirror.swem.wm.edu/DSDOC/wiki.duraspace.org/display/DSDOC5x/Discovery.html#Discovery-Sortoptioncustomizationforsearchresults >> >> We would like to sort_by=dc.date.issued_dt&order=desc >> >> Could someone point me in the right direction? >> >> Thanks, >> >> -- >> >> Eneko >> > -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
