Re: [Dspace-tech] Default settings for items per page and ascending/descending sorting

2015-02-21 Thread royopa
I created a issue in Jira to transform this hardcoded in parameter.

https://jira.duraspace.org/browse/DS-2466

Rodrigo

On Sat, Feb 21, 2015 at 6:27 PM, royopa roy...@gmail.com wrote:

 Hello!

 The default number of results are setted in class 
 [dspace-src]/dspace-api/src/main/java/org/dspace/browse/BrowserScope.java
 on line 55 and the default is 20 results.


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


 private int resultsPerPage = 20;


 Regards

 Rodrigo

 On Fri, Feb 6, 2015 at 11:13 PM, Terry Brady terry.br...@georgetown.edu
 wrote:

 I encountered this issue as well, and I needed to update the java code to
 make this change.


 https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/discovery/SearchFacetFilter.java#L75

 It might be useful to log this as a DSpace issue to make this item
 configurable.

 Terry

 2015-02-04 8:58 GMT-08:00 Anisio Monteiro (IPEN/GDS-Informática) 
 monte...@ipen.br:

 Hello, I'm here again,
 I would like to change the amount of items that is displayed by default,
 ie 10 items to 50 items, for example. Also, change the default order
 ascendant to descendant - the default is ascendent.

  Sorry if I was not very clear in the explanation doubt.

 Thanks for help!

 Best regards!

 --
 Carlos ANISIO Monteiro mca...@gmail.com mca...@yahoo.com.br 
 monte...@ipen.br
 IPEN/CNEN-SP - Av. Lineu Prestes, 2242 - Cidade Universitária, São
 Paulo, Brasil
 CEP 05508-000 Tel.(55)(11) 3133-8876 LINUX USER # 364622

 Aquele que recebe de mim uma idéia tem aumentada a sua instrução sem
 que eu tenha diminuída a minha. Como aquele que acende sua vela na minha
 recebe luz sem apagar a minha. Que as idéias passem livremente de uns aos
 outros no planeta, para a instrução moral e mútua dos homens e a melhoria
 de sua condição...Invenções, portanto, não podem, na natureza, ser sujeitas
 à propriedade. (Thomas Jefferson)


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take
 a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 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




 --
 Terry Brady
 Applications Programmer Analyst
 Georgetown University Library Information Technology
 https://www.library.georgetown.edu/lit/code
 425-298-5498 (Seattle, WA)


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 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




 --
 Rodrigo Prado de Jesus
 http://about.me/royopa
 roy...@gmail.com




-- 
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=190641631iu=/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

Re: [Dspace-tech] Default settings for items per page and ascending/descending sorting

2015-02-21 Thread royopa
Hello!

The default number of results are setted in class
[dspace-src]/dspace-api/src/main/java/org/dspace/browse/BrowserScope.java
on line 55 and the default is 20 results.

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


private int resultsPerPage = 20;


Regards

Rodrigo

On Fri, Feb 6, 2015 at 11:13 PM, Terry Brady terry.br...@georgetown.edu
wrote:

 I encountered this issue as well, and I needed to update the java code to
 make this change.


 https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/discovery/SearchFacetFilter.java#L75

 It might be useful to log this as a DSpace issue to make this item
 configurable.

 Terry

 2015-02-04 8:58 GMT-08:00 Anisio Monteiro (IPEN/GDS-Informática) 
 monte...@ipen.br:

 Hello, I'm here again,
 I would like to change the amount of items that is displayed by default,
 ie 10 items to 50 items, for example. Also, change the default order
 ascendant to descendant - the default is ascendent.

  Sorry if I was not very clear in the explanation doubt.

 Thanks for help!

 Best regards!

 --
 Carlos ANISIO Monteiro mca...@gmail.com mca...@yahoo.com.br 
 monte...@ipen.br
 IPEN/CNEN-SP - Av. Lineu Prestes, 2242 - Cidade Universitária, São Paulo,
 Brasil
 CEP 05508-000 Tel.(55)(11) 3133-8876 LINUX USER # 364622

 Aquele que recebe de mim uma idéia tem aumentada a sua instrução sem que
 eu tenha diminuída a minha. Como aquele que acende sua vela na minha recebe
 luz sem apagar a minha. Que as idéias passem livremente de uns aos outros
 no planeta, para a instrução moral e mútua dos homens e a melhoria de sua
 condição...Invenções, portanto, não podem, na natureza, ser sujeitas à
 propriedade. (Thomas Jefferson)


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 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




 --
 Terry Brady
 Applications Programmer Analyst
 Georgetown University Library Information Technology
 https://www.library.georgetown.edu/lit/code
 425-298-5498 (Seattle, WA)


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 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




-- 
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=190641631iu=/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