diff --git a/apachesolr_search.admin.inc b/apachesolr_search.admin.inc index ff10ef6..e724b5f 100644 --- a/apachesolr_search.admin.inc +++ b/apachesolr_search.admin.inc @@ -894,7 +894,15 @@ function apachesolr_search_type_boost_form($env_id) { // Get the current boost values. $type_boosts = apachesolr_environment_variable_get($env_id, 'apachesolr_search_type_boosts', array()); - $names = node_type_get_names(); + $names = array(); + foreach (entity_get_info() as $entity_type => $entity_info) { + if (!empty($entity_info['apachesolr']['indexable'])) { + foreach ($entity_info['bundles'] as $key => $info) { + $names[$key] = $info['label']; + } + } + } + asort($names); foreach ($names as $type => $name) { $form['type_boost']['apachesolr_search_type_boosts'][$type] = array(