search: typeahead 0.10 adaptation

* Fixes typeahead in 'Add to search' form.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>