Facet links are broken when filtering for uid:0 (Anonymous)
JacobSingh - June 18, 2009 - 07:36
| Project: | Apache Solr Search Integration |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
I assume this is because of PHP's sloppy casting of 0 to null to false to ""...
This demonstrates the problem:
http://img.skitch.com/20090618-fu3pf2683746dasqwut87rnmhc.jpg

#1
Likely the cause is here in the query class:
<?phppublic function has_filter($name, $value) {
foreach ($this->fields as $pos => $values) {
if (!empty($values['#name']) && !empty($values['#value']) && $values['#name'] == $name && $values['#value'] == $value) {
return TRUE;
}
}
return FALSE;
}
?>
#2
#3
committed to 6.x
#4
Automatically closed -- issue fixed for 2 weeks with no activity.