I've got a view with an exposed filter on a decimal cck field. If I enter 2.9 in the form, it treats it as if I entered 2.0.

For example:
- http://www.ssrealty.com/buyers
- Enter 2.9 in the Min Land Area field, and Apply.
- You'll see a bunch of items in the table with a Land Area of 2.0 acres.

The error is apparent in the generated sql (from the views admin page):

SELECT node.nid AS nid, ...
WHERE ... AND (node_data_field_land_area.field_land_area_value >= 2)
ORDER BY ...

Comments

merlinofchaos’s picture

Project: Views (for Drupal 7) » Content Construction Kit (CCK)
Version: 6.x-2.1 » 6.x-2.x-dev
Component: exposed filters » Views Integration

yched, KarenS -- is Views doing this? or is CCK using the wrong filter handler here?

yched’s picture

Status: Active » Fixed

Try upgrading to latest CCK-dev, I think we fixed that.
Please reopen if not.

sprugman’s picture

upgrading cck seems to have fixed it, thanks.

Status: Fixed » Closed (fixed)

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