ajax api accepts search param now