Closed (won't fix)
Project:
Apache Solr Search
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2009 at 15:16 UTC
Updated:
2 Jan 2010 at 11:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
damien tournoud commentedHere is a trivial patch.
Comment #2
JacobSingh commentedI'm a little confused how this will work
So you pass in null.
You are looking for a field which is defined, but which has a null value
You want the function to return true.
if (!empty($values['#name']) && !empty($values['#value']) && ...
Isn't the $values['#value'] part always going to be empty if the field is set to null? Which means this will never return true?
This must eval to true for it to return true.
I'm sure you got this working before you sent the patch, so I must be missing something, but that's what I see here.
Comment #3
pwolanin commentedI dobn't htink this is intended to support empty values - the idea is to check whether there are any filters currently on a given field.
Comment #4
robertdouglass commented