if(browseMode.equals("Create")) { return GrouperHelper.searchStems(s,query,from,searchInDisplayNameOrExtension,searchInNameOrExtension);
List results = null; if("stems".equals(search)) { results = GrouperHelper.searchStems(s,query,from,searchInDisplayNameOrExtension,searchInNameOrExtension); }else{ results = GrouperHelper.searchGroups(s,query,from,searchInDisplayNameOrExtension,searchInNameOrExtension,browseMode);
	public List search(GrouperSession s, String query,String from, Map attr) throws Exception {		String searchInDisplayNameOrExtension = (String) attr.get("searchInDisplayNameOrExtension");		String searchInNameOrExtension = (String) attr.get("searchInNameOrExtension");		if(browseMode.equals("Create")) {			return GrouperHelper.searchStems(s,query,from,searchInDisplayNameOrExtension,searchInNameOrExtension);		}		return GrouperHelper.searchGroups(s,query,from,searchInDisplayNameOrExtension,searchInNameOrExtension,browseMode);	}