mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-16 06:23:10 +00:00
Fix a 'starts with' browsing bug
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2205 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -738,6 +738,11 @@ public class BrowseEngine
|
|||||||
// Normalize it based on the specified language as appropriate for this index
|
// Normalize it based on the specified language as appropriate for this index
|
||||||
return BrowseOrder.makeSortString(scope.getJumpToValue(), scope.setJumpToValueLang(), scope.getBrowseIndex().getDataType());
|
return BrowseOrder.makeSortString(scope.getJumpToValue(), scope.setJumpToValueLang(), scope.getBrowseIndex().getDataType());
|
||||||
}
|
}
|
||||||
|
else if (scope.hasStartsWith())
|
||||||
|
{
|
||||||
|
// Scope has a starts with, so normalize that instead
|
||||||
|
return BrowseOrder.makeSortString(scope.getStartsWith(), null, scope.getBrowseIndex().getDataType());
|
||||||
|
}
|
||||||
|
|
||||||
// No focus value on the scope (ie. focus by id), so just return the passed focus value
|
// No focus value on the scope (ie. focus by id), so just return the passed focus value
|
||||||
// This is useful in cases where we have pulled a focus value from the index
|
// This is useful in cases where we have pulled a focus value from the index
|
||||||
|
Reference in New Issue
Block a user