Download & Extend

Facet links are broken when filtering for uid:0 (Anonymous)

Project:Apache Solr Search Integration
Version:6.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

Likely the cause is here in the query class:

<?php
 
public 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

Status:active» needs review
AttachmentSizeStatusTest resultOperations
fix-0-facets-495012-2.patch814 bytesIgnored: Check issue status.NoneNone

#3

Status:needs review» fixed

committed to 6.x

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here