search: typeahead 0.10 adaptation

* Fixes typeahead in 'Add to search' form.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>