mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix/mnt 23190 queries to find users not returning results (#1365)
* MNT-23190 - Added "hint:useCQ" in order for the new users to appear on the results
This commit is contained in:
@@ -309,7 +309,7 @@ function sortByName(a, b)
|
||||
|
||||
function findUsers(searchTerm, maxResults, results)
|
||||
{
|
||||
var personRefs = people.getPeople(searchTerm, maxResults, "lastName", true);
|
||||
var personRefs = people.getPeople(searchTerm+ " [hint:useCQ]", maxResults, "lastName", true);
|
||||
|
||||
// create person object for each result
|
||||
for each(var personRef in personRefs)
|
||||
|
Reference in New Issue
Block a user