Index: apachesolr_search.module =================================================================== --- apachesolr_search.module (revision 2489) +++ apachesolr_search.module (working copy) @@ -972,6 +972,8 @@ function theme_apachesolr_breadcrumb_uid($uid) { if ($uid == 0) { return variable_get('anonymous', t('Anonymous')); + } elseif (variable_get('apacheslr_username',0)) { + return strip_tags(theme('username',user_load($uid))); } else { return db_result(db_query("SELECT name FROM {users} WHERE uid = %d", $uid)); Index: apachesolr_search.admin.inc =================================================================== --- apachesolr_search.admin.inc (revision 2489) +++ apachesolr_search.admin.inc (working copy) @@ -170,6 +170,12 @@ ksort($form['apachesolr_search_query_fields']); } + $form['apacheslr_username'] = array( + '#type' => 'checkbox', + '#title' => t('Use username theme to supply username'), + '#default_value' => variable_get('apacheslr_username',FALSE), + '#description' => t("Used a strip tagged verison of username from theme('username'). Will increase display time of facet."), + ); return system_settings_form($form); }