Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)

129059 adavis: REPO-243 People Live Search
      - Use id (in fields and orderBy) rather than userName as it is an id that is returned in the Person entity
      - Added tests to test id can be used in fields and orderBy
      - Added 'wildcard' tests created by Alexandru-Eusebiu Epure


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129199 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Martin Muller
2016-08-05 13:50:07 +00:00
parent 2b9173ee6a
commit fda06755c6
3 changed files with 104 additions and 21 deletions

View File

@@ -57,7 +57,7 @@ public interface Queries
static int MIN_TERM_LENGTH_NODES = 3;
// People query
static String PARAM_USERNAME = ContentModel.PROP_USERNAME.getLocalName();
static String PARAM_PERSON_ID = "id";
static String PARAM_FIRSTNAME = ContentModel.PROP_FIRSTNAME.getLocalName();
static String PARAM_LASTNAME = ContentModel.PROP_LASTNAME.getLocalName();
static int MIN_TERM_LENGTH_PEOPLE = 2;