search -> ransack. Compat with TS

There where a few instances where .search was used instead of .ransack