Posted by pwolanin on August 30, 2010 at 5:23pm
2 followers
Jump to:
| Project: | Apache Solr Search Integration |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
The current default implementation ignores the 2nd parameter ($exclude) when ideally it would add something like the 'not' or 'not by'.
<?php
/**
* 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
#1
#2
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)