search field for categories, sql query in model (TODO - include path to root element for children nodes in search)