Hi!
I have a collection with two pointers - to other collections. I have the collection with the pointers listed on a grid (or rather content from collections there pointing to). I also have a selectmenu and a searchbar. Values of selectmenu are column names in the other two collections. When I select something on the menu it's value is saved in local storage called "searchType_jobs". When a search is executed it invokes the search LIST service. With before send mapping of value of searchbar to query WHERE. With the following JS:
var searchtype = localStorage.getItem('searchType_jobs');
return '{searchType:{"$regex":"^'+value+'", "$options":"i"}}';
But I've understood that you can't do this type of regular query on pointer values. Anyone got any idea? All help appreciated!
Thanks!