VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Gruz on February 06, 2012, 08:35:01 AM

Title: A search plugin bug - never seraches category with id 1
Post by: Gruz on February 06, 2012, 08:35:01 AM
VM 2.0.1.d
plugins/search/virtuemart/virtuemart.php

Line 143:
. ' WHERE ' . $where . ' and p.published=1 and b.virtuemart_category_id>1 '
So search doesn't match anything in virtuemart_category_id = 1.
I think the code should be
. ' WHERE ' . $where . ' and p.published=1'

-------

Fixed in newer versions.