Added perform query code

	* Performs queries to all results
	* Performs queries to search bar text