The current default implementation ignores the 2nd parameter ($exclude) when ideally it would add something like the 'not' or 'not by'.
/**
* Return the username from $uid
*/
function theme_apachesolr_breadcrumb_uid($uid) {
if ($uid == 0) {
return variable_get('anonymous', t('Anonymous'));
}
else {
return db_result(db_query("SELECT name FROM {users} WHERE uid = %d", $uid));
}
}
Comments
Comment #1
jpmckinney commentedComment #2
jpmckinney commentedTrue of all breadcrumb theme functions: theme_apachesolr_breadcrumb_cck, theme_apachesolr_breadcrumb_language, theme_apachesolr_breadcrumb_date_range, theme_apachesolr_breadcrumb_changed, theme_apachesolr_breadcrumb_created, theme_apachesolr_breadcrumb_tid, theme_apachesolr_breadcrumb_type, theme_apachesolr_breadcrumb_is_book_bid, theme_apachesolr_breadcrumb_im_og_gid (not all present in both 6.x-1.x)
Comment #3
nick_vhClosing in favor of 6.x-3.x and because nobody seems to care (time of last response). If you think this is still an issue in 6.x-3.x, feel free to re-open!