modified function for catalog search of newest and most popular projects