changing adaptor to use named scopes if they match a search param