News:

Looking for documentation? Take a look on our wiki

Main Menu

Bug in search plugin - not searching custom fields

Started by vmfyelloq19, Yesterday at 13:36:53 PM

Previous topic - Next topic

vmfyelloq19

Friends,
for plugin/search/virtuemart  the plugin configuration says for IDs of Custom:  "Enter the IDs of the fields you want to search (comma-separated). Leave blank to search all fields."

If I leave the field empty, the plugin will NOT search custom fields.

Either the code or the field description is wrong:
if ($search_customfields) {
    $value = trim($this->params->get('customfields', ""));
    if (!empty($value)){
        // [...]
        } else {
            $search_customfields = false;
        }