Hello!

answering my own question, the default ORDER is setted in class
[dspace-src]/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java
on line 59:

https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java#L59

So, change the variable defaultOrder to SortOption.DESCENDING instead of
SortOption.ASCENDING.

I found a minor bug in constructor method for class BrowseIndex.java and I
created a issue and PR to resolve this bug.

Jira bug
https://jira.duraspace.org/browse/DS-2465

Pull Request
https://github.com/DSpace/DSpace/pull/869

If you can test and comment, I would appreciate it.

Regards

Rodrigo

---------- Forwarded message ----------
From: royopa <roy...@gmail.com>
Date: Fri, Feb 20, 2015 at 10:25 PM
Subject: How change default order by and number results in discovery
To: dspace-tech <dspace-tech@lists.sourceforge.net>


Hi

In the page below I need change the default order to "Descending" instead
of "Ascending" and the number of results to 35 instead of 20 results.

[image: Inline image 1]

Where would I can make this configuration?

thanks

-- 




-- 
Rodrigo Prado de Jesus
http://about.me/royopa
roy...@gmail.com
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
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