(Scott Phillips) SF#1898195 - Browse by pages are missing the 0-9 link.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2731 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Scott Phillips
2008-02-28 02:48:48 +00:00
parent 1fdba83734
commit 132791a9bd

View File

@@ -405,6 +405,11 @@ public class ConfigurableBrowse extends AbstractDSpaceTransformer implements
{
// Create a clickable list of the alphabet
List jumpList = jump.addList("jump-list", List.TYPE_SIMPLE, "alphabet");
Map<String, String> zeroQuery = new HashMap<String, String>(queryParams);
zeroQuery.put(BrowseParams.STARTS_WITH, "0");
jumpList.addItemXref(super.generateURL(BROWSE_URL_BASE, zeroQuery), "0-9");
for (char c = 'A'; c <= 'Z'; c++)
{
Map<String, String> cQuery = new HashMap<String, String>(queryParams);