mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130052 gjames: SEARCH-161: Removed support for synonyms on SORT fieldNames git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130299 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -182,8 +182,7 @@ public class SearchMapper
|
||||
{
|
||||
SortType sortType = SortType.valueOf(sortDef.getType());
|
||||
String field = sortDef.getField();
|
||||
QName propQname = PARAM_SYNONYMS_QNAME.get(field);
|
||||
sp.addSort(new SortDefinition(sortType, propQname==null?field:propQname.toString(), sortDef.isAscending()));
|
||||
sp.addSort(new SortDefinition(sortType, field, sortDef.isAscending()));
|
||||
}
|
||||
catch (IllegalArgumentException e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user