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

jpmckinney’s picture

Component: Code » User interface
jpmckinney’s picture

True 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)

nick_vh’s picture

Status: Active » Closed (won't fix)

Closing 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!