Added pg search to projects

Getting an error with the :if keyword