bugfix in search, added role_home_page and sort_field, sort_order in doctype