VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: aravot on October 11, 2010, 21:16:23 PM

Title: Advanced Search according to Parameters can't find exact float values
Post by: aravot on October 11, 2010, 21:16:23 PM
Advanced Search according to Parameters can't find exact float values

The 'Advanced Search according to Parameters' is not able to find the correct product(s) if the searched parameter is a float value, example.
The following products have the following product_type_values:
Prod-A  10.4, Prod-B  10.5, Prod-C  12.3
Searching for 10.4 with the comparison operator '=' doesn't return any product.
Title: Re: Advanced Search according to Parameters can't find exact float values
Post by: zanardi on November 07, 2010, 11:50:22 AM
See http://dev.virtuemart.net/redmine/issues/137
Title: Re: Advanced Search according to Parameters can't find exact float values
Post by: aravot on November 07, 2010, 19:52:14 PM
I tested latest revision 2619, the bug still there, you can tested it http://www.park2sale.com
Title: Re: Advanced Search according to Parameters can't find exact float values
Post by: zanardi on November 08, 2010, 10:14:16 AM
Can you please tell me the steps to reproduce the issue on your test site? Which product? Which parameter?
Title: Re: Advanced Search according to Parameters can't find exact float values
Post by: aravot on November 08, 2010, 18:53:51 PM
From the left menu click on 'Advanced Search according to Parameters' next select 'Product Info' leave default setting for all parameter values except 'Camera Effective Pixels' set it to '=' select 8.1 and search, no result is found but there is a product with 8.1 value, set '<=' select 9.1 and search only one result is found but there should be two products, next set it to '>' search two product are found but only one should be.