Hi,

I'm having some problems when I try to do a IDVault.globalQuery with prefix search, the query allways return all the values It doesn't care the value of the prefix.

This is how I have the code
Code:
var prefixSearch=form.getValue("prefixGroup")
if ((prefixBusqueda) && (prefixBusqueda != null)&& (prefixBusqueda!="")&& (prefixBusqueda!=" ")){
	try{
		IDVault.globalQuery("groups1", "GroupSearch", {"CN":prefixSearch})
	}catch(e){
		form.alert(" GroupSearch Error "+e);
	}
}
And that's how I've got the defined the query.
Click image for larger version. 

Name:	QuerySearch.jpg 
Views:	4 
Size:	101.1 KB 
ID:	6015

Where could be the problem??