Title: Message Title
|
|
I review code and is incomplete because now the pagination links searching in all DSpace are broken. The correct code is this: // create the URLs accessing the previous and next search result pages String baseURL =""; if(searchScope!=""){ baseURL = request.getContextPath() + "/handle/" + searchScope + "/simple-search?query=" + URLEncoder.encode(query,"UTF-8") + httpFilters + "&sort_by=" + sortedBy + "&order=" + order + "&rpp=" + rpp + "&etal=" + etAl + "&start="; }else{ baseURL = request.getContextPath() + searchScope + "/simple-search?query=" + URLEncoder.encode(query,"UTF-8") + httpFilters + "&sort_by=" + sortedBy + "&order=" + order + "&rpp=" + rpp + "&etal=" + etAl + "&start="; } Best regards, Raul Ruiz
|
|
|
|
|
When you make a search in community or collection, pagination result links are broken because they are bad built
|
|
|
|
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel