Improve search_rec_name of category

Directly return the domain instead of the "id in" form.