converting search to admin_search class method