nothing is optional, although it is checked. I am using search and between values. I have tried to supply between values that are bigger and smaller than any in the database to see if that could have been it - and it didn't change anything. Here's an output of the search query with "optional" checked for search and between price values:

SELECT node.nid AS nid,
   node.type AS node_type,
   node_data_field_sale_price.field_sale_price_value AS node_data_field_sale_price_field_sale_price_value,
   node_data_field_sale_price.nid AS node_data_field_sale_price_nid
 FROM node node 
 LEFT JOIN content_type_mlslisting node_data_field_sale_price ON node.vid = node_data_field_sale_price.vid
 WHERE (node.type in ('mlslisting')) AND (node_data_field_sale_price.field_sale_price_value >= 0) AND (node_data_field_sale_price.field_sale_price_value <= 0)

Comments

drewschmaltz’s picture

Note: When fields have values, the filters are working. Its when an optional field is left blank that still no results are found.

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

I'm sorry, you're not being complete or precise enough. I don't understand what your problem is.

drewschmaltz’s picture

I'm sorry, I'm trying to make this as clear and simple as possible...

The problem arises when "BETWEEN VALUES" is used as an "EXPOSED & OPTIONAL" filter with the operator "LOCKED".

The default values for [min] and [max] are both 0, making the field NOT OPTIONAL. If those fields would assume the "DEFAULT VALUES" when optional - or some other similar solution, then the between values filter will be truly optional.

Coyote’s picture

I think I'm having a similar problem. I'm not having it with all exposed filters, just search. Here's the issue I raised.

http://drupal.org/node/573234

dawehner’s picture

Status: Postponed (maintainer needs more info) » Active

update.

esmerel’s picture

Status: Active » Postponed (maintainer needs more info)

IS this still an issue, it's been around a while with no activity

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)