News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Bug on search system with customfields

Started by ermes, June 22, 2018, 18:58:15 PM

Previous topic - Next topic

ermes

Hi forum, i have found a bug in VM 3.2.14. I know that the search on custom fields is "beta" so i want to show a little bug in VirtueMartModelProduct. If you create a custom field as string type and you set it as "searchable", when you try to use it in search form the selectbox return the index value (&customfields[16]=1) but in the product model (exactly into sortSearchListQuery function) the value 1 it's passed as keyword for pf.`customfield_value` when it store the current string value (ex: "With ribbon"). So you can fix it by modify the options value of selectbox. It not had to send the index but the field value.